Foundations missions
Practice at your level with hints.
12 original, bite-sized lessons taking you from your first program to functions, files and testing. Each includes code you can download, a challenge, a debugging task and a quick self-check.
Suitable for beginners, KS3 and GCSE students. Broader than either individual exam specification; follow alongside your OCR or AQA topic pathway.

TUTORSYNTAX BOOKS · BEGINNER PYTHON
Begin with printed tutorials and extend your learning using optional, free Python code downloads for all ten chapters, bonus games and coding challenges.
Start with the first lesson, then apply what you have learned in short coding challenges.
Test loops, variables, indexing and type conversions in interactive original Python Missions.
Practice at your level with hints.
New GCSE course: Nine guided Python programming lessons with original challenges and tested downloads →
print(), comments and running a script
Start lesson →Not marked complete
Assignment, strings, integers, floats and booleans
Start lesson →Not marked complete
input(), int(), float() and validation
Start lesson →Not marked complete
Conditions, comparisons and if/elif/else
Start lesson →Not marked complete
Combining conditions with and, or and not
Start lesson →Not marked complete
for loops and range()
Start lesson →Not marked complete
while loops, sentinels and avoiding infinite loops
Start lesson →Not marked complete
List creation, traversal and updating
Start lesson →Not marked complete
Character indexing, slices and formatted output
Start lesson →Not marked complete
Defining functions, arguments and return values
Start lesson →Not marked complete
Writing, reading and with-open blocks
Start lesson →Not marked complete
Normal, boundary and invalid data; trace and fix
Start lesson →Not marked complete
Step through worked code examples and try original GCSE and A-level output and debugging quizzes.
Open Python Practice →First ten minutes
Do not try to memorise a whole program. Read one example, predict what it will do, run it, then change one value and test again.
Follow the 12 structured lessons from output and variables through loops, functions and debugging.
Open lesson oneUse interactive traces to check how values change from line to line.
Predict Python outputAttempt six beginner challenges with tests and optional starter files.
Try beginner challengesWrite a program that asks for the number of minutes spent revising on Monday and Tuesday, then prints the total minutes. Test 20 + 25 = 45, and 0 + 15 = 15. Use int() so you add numbers, not strings.
Ready for more? Try the Python Programming: First Steps book and free example-code downloads.
Beginners · choose the next step
Learn printing, variables and input through short examples before using conditions and loops.
Choose a guided learning pathPredict each variable change and use a table rather than guessing at the output.
Try the interactive practiceWrite a complete small program from requirements and test it without copying the solution first.
Try beginner Python challenges