Python, Level by Level

Learn Python by running a café's till

Short quests you play in your browser: write real Python, press Check, earn XP. Each level ends with a challenge that opens the next.

Start Level 1 Free, no account needed. Nothing to install.

Level 1: First day

print, variables, numbers, strings, input and reading errors

  1. Quest 1Next

    First Day at Bean There

    5 steps · about 25 min
    print(f"Today's special: {special}, £{price:.2f}")
  2. Quest 2 After quest 1

    The Receipt

    5 steps · about 30 min
    f"£{total // 100}.{total % 100:02d}"
  3. Quest 3 After quest 2

    Ask the Customer

    5 steps · about 25 min
    flat_whites = int(input("Flat whites: "))
  4. Quest 4 After quest 3

    Read the Error

    5 steps · about 25 min
    NameError: name 'pirce' is not defined
Boss · Level 1

Opening Morning

Doors open at 8:00. Your till prints an exact receipt for every customer, including the ones you can't see.

The first customer
The morning crowd
The price change
Up to 450 XP and Level 2
After quest 4

XP and ranks

+20
a quest step passed
+5
on the first try
+5
without the hint
+100
a boss phase
  1. Apprentice 0
  2. Junior developer 800
  3. Developer 2,400
  4. Senior developer 5,400
  5. Lead developer 9,000

Questions about the course