Skip to content
Python · step by step · auto-checked

Python Paths

Learn Python one small program at a time. Each step asks for one thing — “ask for 3 marks and print the average” — and is checked the moment you press Run the tests, including tests you cannot see. Steps are grouped into blocks, each linked to the notes that teach it, and the site remembers where you stopped.

  • O Level 2210 · IGCSE 0478 · 2029–2031 syllabus

    O Level / IGCSE Python

    The Python-only syllabus examined from March 2029: print() and variables, input and casting, operators, if and match-case, loops, strings, validation, functions, lists, searching and sorting, files and the scenario question.

    82 steps in 14 blocks (A–N)

    0 of 82 steps done82 planned
    Start at Step 1
  • AS & A Level 9618 · Paper 4

    9618 Paper 4 Python

    Python for the practical paper: data and I/O, selection and loops, the string built-ins, procedures and functions, arrays, records, files, exceptions, the A2 algorithms, recursion, stacks, queues, linked lists, trees and OOP.

    90 steps in 16 blocks (A–P)

    0 of 90 steps done90 planned
    Start at Step 1

How the checking works

  • Your program runs in real Python in your browser. Each test gives it some inputs and compares what it prints, line by line, with the answer.
  • Some tests are hidden, so a program that only prints the examples will not pass. Where a step teaches a construct (a for loop, match-case, a function), using it is checked too.
  • A step is done when every check passes. Your best score counts towards your XP and follows your account to other devices.
  • Stuck? Ask Z for a hint on the failing test, or open the model answer after two tries.

Want longer, exam-shaped questions? Try the Programming Tasks.

Enroll nowOnline classes