GCSE Computer Science: all 12 days
for day in range(12, 0, -1):
  1. 12
  2. 11
  3. 10
  4. 9
  5. 8
  6. 7
  7. 6
  8. 5
  9. 4
  10. 3
  11. 2
  12. 1

Each puzzle you solve lights up a letter. Solve all 12 to read the secret message.

Got a pupil account? Sign in to save your progress, or just play: this browser remembers it.

Day 1 of 12 ยท GCSE Computer Science

Double the presents

Santa types how many presents a child has asked for. The program doubles it.

Fill in the missing code, then press Run.

christmas.py
  1. presents = (input("How many presents? "))
  2. print(presents * 2)
Console Press Run to test your code.