Course overview
A few lines of Python can draw a repeating pattern. But what if it draws one shape too many? Students read, run and debug short programs in Python, a language where they type the instructions instead of dragging blocks together.
Planning your workshop
School levels: Secondary, including Secondary 2
Past formats: 10½–18 hours in beginner and intermediate lesson series
Tell us what your students can already code and how long each lesson slot is. If you’re moving a class on from blocks, we can build on familiar ideas like loops. If your school limits software installs, let us know so we can discuss the setup.
Learning outcomes
- Break a problem into steps and turn them into Python code.
- Predict how a change to the code will affect what the program does.
- Use test results and error messages to find and fix problems.
Curriculum and hands-on
A beginner class might use Python’s Turtle drawing tool to trace and fix a loop that draws one shape too many. A class that already writes Python might test how a quiz checks user input and fix it so that capitalising a correct answer doesn’t make it wrong.

