Can we use analytics cookies?

Google Analytics measures basic public-page use without setting analytics cookies. If you accept, cookies help us understand repeat visits and journeys. We never send names, email addresses, learner answers or code.

Read the cookie details

Try Python reasoning before signing up

Predict output and trace a loop in the free revision check, then start a trial to write, run and save your own programs.

Try the Python questions

Real Python for OCR J277 and AQA 8525

Read it. Predict it. Change it. Then write it yourself.

A complete programming route combines worked examples, tracing, debugging and increasingly independent challenges inside a proper browser coding environment.

120 published programming lessons

A clear route from first program to GCSE problem-solving

Intro to Python builds the foundations. Advanced Python develops decomposition, algorithms, structured data and file handling.

INTRO TO PYTHON

Build the foundations

  • • Output and expressions
  • • Variables and input
  • • Casting and calculations
  • • Selection and logic
  • • For and while loops
  • • Strings and lists
  • • Validation and testing
  • • Linear search

ADVANCED PYTHON

Combine and apply

  • • Procedures and functions
  • • Parameters and return values
  • • 2D lists and records
  • • Search and sort algorithms
  • • Advanced strings
  • • Text-file handling
  • • CSV records
  • • Robust synoptic projects

A student-friendly coding environment

The browser behaves like a real Python workspace

Live input prompts

Programs pause when input() is reached, accept each value in sequence and preserve a readable terminal transcript.

Text and CSV files

Open supplied files, create new ones, append, overwrite, read multiple lines and check exact generated contents in an isolated workspace.

Proper code editing

Indentation, Tab, syntax highlighting, adjustable font, reset, saved versions and a larger scratchpad support genuine programming.

Run before checking

Students can experiment with output and inputs before asking the site to check the finished answer.

Different correct solutions

A working program can take more than one approach. Tasks accept valid solutions while still checking a particular technique when that is the skill being practised.

Errors written for learners

Common syntax, indentation, name, type, value, index and file errors retain the real Python message and add a useful explanation.

Support fades as independence grows

Green, Amber and Red provide increasing challenge

Students begin with the core skill, then move towards more independent programs. Hints and worked help stop one difficult task from blocking the rest of the course.

A protected place to run code

Each learner has a separate task workspace. Programs are checked with strict limits and cannot browse the internet or access another learner’s files.

Read about accessibility and safety

Write your next Python program in the browser

Start with supported examples or jump into repeatable challenges and open playgrounds. Your code and progress are saved.