Menu

Input Validation - 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 12
1. Check that an age typed in by a user is realistic for a person, and tell the user the result.
When the input is
37
it prints
Valid age

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