Menu

Condition Controlled Iteration (While Loops) - Parsons Puzzle

Build the program: tap each line to add it in order, then use to indent lines inside a loop, if or function.

Puzzle 1 of 27
1. Show the floors a lift passes as it comes down to the ground floor, starting from the floor number entered.
When the input is
3
it prints
3
2
1
Ground floor

Your program

  1. Tap the lines below, in order.

Lines

Log in or sign-up to solve the puzzles



Don't have a login?

You can still revise this topic