Module 3: Storing Information

Store, change and combine information, and meet functions for the first time. 12 Python coding games, each with short narrated videos and six levels.

This module is part of the full course. Unlock all 79 games for $9, or try Module 1 free.

  1. 9 Variables · Box Depot
    A warehouse where labelled boxes appear and fill as each line runs.
  2. 10 Changing variables · Scoreboard
    An arena scoreboard rolls to each new value as your code runs.
  3. 11 Tracing code in your head · Step Tracker
    Walk through a program one line at a time and predict what each box holds.
  4. 12 Numbers and maths · Market Stall
    Run the till at a fruit stall: add up bills, multiply prices and give change.
  5. 13 Division, remainders and order · Cake Cutter
    Share trays of cake fairly: whole slices for each plate, and leftovers on the tray.
  6. 14 Working with text · Sign Painter
    Paint shop signs by joining and repeating pieces of text.
  7. 15 f-strings · Name Tags
    Print name tags for a party by dropping values straight into text.
  8. 16 Data types · Sorting Bins
    Crates come along a belt. Work out each value's type, and drop it in the right bin.
  9. 17 What is a function? · Tool Bench
    Use Python's ready-made tools to count, round and compare.
  10. 18 Asking the user: input() · Ticket Booth
    Run a ticket booth. Ask each visitor questions, and print tickets from their answers.
  11. 19 Converting types · Currency Exchange
    Swap coins for gems at the exchange, converting text to numbers along the way.
  12. 20 Project: Bill Splitter · Bill Splitter
    Your first real program: it works out what each friend owes for a meal.