Proof Academy · Learn to Code · Free
Learn Python by writing it.
A free Python course for complete beginners and GCSE Computer Science students. Follow worked examples, run Python in your browser and test what you build, from your first line of code to independent GCSE programming.
Free for everyone · No account needed
Use every lesson without signing up
The whole Python course, every GCSE and A-level lesson, and each available course quiz are open to everyone. Create a free account to use practice resources and save your marks in the dashboard.
Course sequence
Journey 01
Your first Python program
Write instructions using variables, text, arithmetic and output.
Journey 02
Input and types
Turn typed text into numbers and test a two-number calculator.
Journey 03
Selection and validation
Trace decisions, fix a range check and validate a locker number.
Journey 04
Loops and running totals
Trace repeated instructions, repair a running total and build a program that stops when it reads a sentinel.
Journey 05
Strings, lists and records
Clean text, follow indices and keep a collection of accepted records.
Journey 06
Functions and program structure
Break a problem into named jobs and test the result of a function separately from input and output.
Journey 07
Test, debug and refine
Design tests that expose logic errors and use small functions to check program behaviour.
Journey 08
Searching and sorting
Compare linear and binary search, then trace the swaps that put a list in order.
Journey 09
Files, CSV and persistent data
Read records from a text file, handle incomplete rows and write a report that can be reopened.
Journey 10
Binary and text encoding
Trace place values, detect overflow and distinguish characters from stored bytes.
Journey 11
From Python to the processor
Step through a stored program, track CPU registers and explain how the runtime executes your code.
Journey 12
Project: build a results analyser
Design, test and explain a program that validates records and produces an exam-style report.
Exam practice
GCSE Python Paper 2 rehearsal
Three original Edexcel-style tasks: read a starter file, repair it and build a report from a new brief.