Nested loops
Repeat a task inside another task to visit combinations, construct patterns and inspect every grid cell.
Python GCSE Core · Space adventure
Practise GCSE Python programming with nested loops, 2D lists and linear search. Start on Mars, solve space missions and build towards an image processing project across eleven destinations.
Play in your browser on a desktop or laptop. Sign in to save your code and progress.
The book for this course
Python GCSE Core is the published companion to this course. Explore the same loops, grids and image-processing ideas through worked examples, independent practice and explained answers.

Print visualisation · Python GCSE Core
Published by Code&AI Limited under its AlgoPath Coding Academy imprint. Books and online course access are separate.
A strong core · Room to explore
For learners who are comfortable with variables, decisions, loops and functions and want to apply them to larger problems.
Repeat a task inside another task to visit combinations, construct patterns and inspect every grid cell.
Build independent rows, change individual cells and calculate across rows and columns.
Adjust brightness, convert RGB to greyscale and combine images without changing the originals.
More topics you’ll meet along the way.
Eleven destinations · One space adventure
Follow the teaching, try the worked examples and solve each mission in Python. Your journey builds from reliable loops and searches to grids, image processing and a complete image pipeline.
Make loops finish safely
Search and count
Summarise a collection
Spot a consecutive sequence
Build and edit a 2D list
Repeat work inside work
Find information in a grid
Calculate along rows and columns
Change an image with Python
Combine images into a project
Combine images into a project
Keep learning at your pace
Revisit the teaching and worked examples, compare your results and ask the tutor about a difficult loop, grid or image operation. Build confidence on one mission before continuing to the next destination.
Your virtual tutor’s voice and personal guidance are computer-generated.