Menu

Condition-Controlled Iteration - 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 31
1. A number guessing game where the player has at most three goes, every wrong guess is reported as too low or too high, and a correct guess says how many goes were needed.
When the input is
3
9
7
it prints
Too low
Too high
Found it in 3

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