CJCoding With Joseph
15free / daySign inCreate account
TitleTopicsAction
354
Count Down To OneRead a starting number and use a `while` loop to print it, then every smaller wh...
easy○ Not Started
Loops
Solve
355
Count Up To NRead a number and print every whole number from 1 up to and including it, one pe...
easy○ Not Started
Loops
Solve
356
Add Up To NRead a number n and add together every whole number from 1 to n with a `while` l...
easy○ Not Started
Loops
Solve
357
Each Name On Its Own LineThree names are read into a list, one per line of input. Use a `for` loop over t...
easy○ Not Started
Loops
Solve
358
Values On One LineThree whole numbers are read into a list. Use a `for` loop with `print(value, en...
easy○ Not Started
Loops
Solve
359
Total Of The ListFour whole numbers are read into a list. Add them with a `for` loop and an accum...
easy○ Not Started
Loops
Solve
360
Average With A LoopFour grades are read into a list. Use one `for` loop to build both the running t...
easy○ Not Started
Loops
Solve
361
Largest With A LoopFour whole numbers are read into a list. Find the largest with a `for` loop that...
easy○ Not Started
Loops
Solve
362
Smallest With A LoopFour whole numbers are read into a list. Use a `for` loop and a `smallest` varia...
easy○ Not Started
Loops
Solve
363
Count The EvensFive whole numbers are read into a list. Count how many of them are even using a...
easy○ Not Started
Loops
Solve
364
Count Above The LimitA list of six grades is declared in the starter. Read a limit and count, with a ...
easy○ Not Started
Loops
Solve
365
Right Triangle Of StarsRead a height n and print a right-angled triangle of stars: row 1 has one `*`, r...
easy○ Not Started
Loops
Solve
366
Repeat A Word N TimesRead a word and then a count, and print the word that many times, once per line,...
easy○ Not Started
Loops
Solve
367
Print The Running TotalFour whole numbers are read into a list. Use a `for` loop and an accumulator, an...
easy○ Not Started
Loops
Solve
368
Vowels In A WordRead a word and count its lowercase vowels with a `for` loop over the characters...
easy○ Not Started
Loops
Solve
369
Sum Until ZeroRead whole numbers one per line and add them up until a 0 is read; the 0 is a se...
easy○ Not Started
Loops
Solve
370
Count Down In TwosRead a starting number and print it, then every value two less than the previous...
easy○ Not Started
Loops
Solve
371
Print The EvensFive whole numbers are read into a list. Print only the even ones, each on its o...
easy○ Not Started
LoopsPractice Problems
Solve
372
Value And Its DoubleThree whole numbers are read into a list. Use a `for` loop to print each value f...
easy○ Not Started
Loops
Solve
373
Multiples Of Five Up To NRead a limit and print every multiple of 5 from 5 up to and including the limit,...
easy○ Not Started
Loops
Solve
374
Count The CharactersRead a word and count its characters with a `for` loop over the string, adding o...
easy○ Not Started
Loops
Solve
375
Spell It Out With SpacesRead a word and print its characters on one line separated by single spaces, usi...
easy○ Not Started
Loops
Solve
376
Sum Of The EvensFive whole numbers are read into a list. Add together only the even ones, using ...
easy○ Not Started
Loops
Solve
377
Letters On Separate LinesRead a word and print each of its characters on its own line, first to last, usi...
easy○ Not Started
Loops
Solve
378
Build The Word BackwardsRead a word and build its reverse with a `for` loop: start with an empty string ...
easy○ Not Started
Loops
Solve
379
Stars In A RowRead a number n and print n stars on one line with nothing between them, using a...
easy○ Not Started
Loops
Solve
380
Sum Of Squares Up To NRead a number n and add together the squares 1*1 + 2*2 + ... + n*n with a `while...
easy○ Not Started
Loops
Solve
381
Every Size In Every ColourTwo colours are read, one per line, into a list; the sizes `S`, `M` and `L` are ...
easy○ Not Started
Loops
Solve
382
Halve Until Below OneRead a decimal number and keep halving it with a `while` loop, printing each val...
easy○ Not Started
Loops
Solve
383
Collatz LengthRead a positive whole number n and count how many values its Collatz sequence co...
medium○ Not Started
LoopsPractice Problems
Solve
384
Digit SumRead a positive whole number and add up its digits with a `while` loop: the rema...
medium○ Not Started
Loops
Solve
385
Factorial By LoopRead a whole number n and compute n factorial (the product 1 * 2 * ... * n) with...
medium○ Not Started
Loops
Solve
386
Powers Of Two Below A LimitRead a limit and print every power of two that is below it, starting from 1 and ...
medium○ Not Started
Loops
Solve
387
Multiplication Table RowRead a number n and print its times table from 1 to 10 with a `while` loop, one ...
medium○ Not Started
Loops
Solve
388
Square Of StarsRead a size n and print a solid square of stars that is n rows tall and n stars ...
medium○ Not Started
Loops
Solve
389
Sum Of The Odd Numbers Up To NRead a number n and add up every odd whole number from 1 to n with a `while` loo...
medium○ Not Started
Loops
Solve
390
First Above The LimitA list of readings is declared. Read a limit and print the first reading that is...
medium○ Not Started
Loops
Solve
391
Seat LabelsRead a number of rows and print the seat labels of a small theatre: each row has...
medium○ Not Started
Loops
Solve
392
Number Pyramid RowsRead a height n and print n rows where row k shows the numbers 1 to k separated ...
medium○ Not Started
Loops
Solve
393
Average Until ZeroRead whole numbers one per line until a 0 arrives (the 0 is a sentinel and is no...
medium○ Not Started
Loops
Solve
394
Largest Until ZeroRead whole numbers one per line until a 0 arrives (the sentinel, which is not a ...
medium○ Not Started
Loops
Solve
395
Years To DoubleRead a starting balance and a yearly interest rate as a percentage (for example ...
medium○ Not Started
Loops
Solve
396
Right Aligned TriangleRead a height n and print a triangle of stars that leans on the right edge: row ...
medium○ Not Started
Loops
Solve
397
Tally The Chosen LetterRead a word and then a single letter, and count how many times that letter appea...
medium○ Not Started
Loops
Solve
398
Grid TotalFour whole numbers are read, one per line, into a 2 by 2 grid declared as a list...
medium○ Not Started
Loops
Solve
399
FizzBuzzWhizzRead a number N and, for every whole number from 1 to N in order, print the numb...
hard○ Not Started
LoopsPractice Problems
Solve
400
Collatz SequenceRead a positive whole number n and print its Collatz sequence, one value per lin...
hard○ Not Started
LoopsPractice Problems
Solve
401
Diamond Of StarsRead a number n and print a diamond of stars: the top half has rows of 1, 3, 5, ...
hard○ Not Started
LoopsPractice Problems
Solve
402
Primes In A ListFive whole numbers are read into a list. Print only the prime ones, each on its ...
hard○ Not Started
LoopsPractice Problems
Solve
403
Reverse The DigitsRead a positive whole number and print its digits in reverse order as a single n...
hard○ Not Started
Loops
Solve