Can we use measurement cookies?

Google Analytics helps us understand public-page journeys, and Google Ads tells us when an advert leads to a trial signup or confirmed purchase. If you accept, measurement cookies connect those visits and conversions. We never send names, email addresses, learner answers or code, and advertising is not personalised.

Your choice is saved in this browser for one year and is not cleared when you log out. Private browsing or clearing browser data can make this question appear again.

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 the contents you generate.

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

Different correct solutions are accepted while each task still focuses on 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 safe place to practise Python

Each learner has their own secure coding workspace for writing, running and improving programs.

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.