Getting started with Python
print(), comments and running a script
Start lesson →Not marked complete
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.
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 →