Step 1 of 1

Step 1 · Challenges

Checkpoint challenges

Five short programs that mix this chapter's operators, // and %, order of operations and rounding with the variables and printing from earlier. Going back over older skills is what makes them stick.

Ticket total

Two adults pay £12 each and three children pay £7 each. The variables are made for you. Work out the total using one sum and print:

Total: 45
0 of 5 passed. Pass them all to finish the lesson.Next lesson: 4.1 Asking questions →
tickets.py

Output

Press Run to see what your program prints.