Menu

Selection - 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 23
1. Work out the price of a ticket where under 16s pay half price.
When the input is
14
it prints
5

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