Python Programming Challenges

292 free challenges for GCSE Computer Science students. Perfect for OCR and AQA students looking to practise Python programming, or anyone who wants to sharpen their coding skills.

๐Ÿ“ Edexcel students? Practise Paper 2 challenges here
☰ Browse by Topic
Difficulty:

Turtle Graphics

Drawing shapes, patterns, and pictures using Python's turtle module.

Never done this before? Learn it first →

EasyTurtle Graphics
Draw a Square
Use turtle graphics to draw a square with sides of 100 pixels.
EasyTurtle Graphics
Draw an Equilateral Triangle
Use turtle graphics to draw an equilateral triangle with sides of 150 pixels.
EasyTurtle Graphics
Colourful Shape Collection
Draw three shapes in different colours - a red square, a blue triangle, and a green circle.
MediumTurtle Graphics
Draw a Five-Pointed Star
Use turtle graphics to draw a five-pointed star with yellow fill.
MediumTurtle Graphics
Growing Spiral Pattern
Draw a colourful square spiral where each side gets longer as it goes.
MediumTurtle Graphics
Hexagon Flower Pattern
Draw a flower pattern by rotating a hexagon around a central point.
HardTurtle Graphics
Draw a House with Garden
Draw a house with a triangular roof, a door, a window, and a simple garden with flowers.
HardTurtle Graphics
Olympic Rings
Draw the five Olympic rings in their correct colours and overlapping positions.
HardTurtle Graphics
Dartboard Target
Draw a dartboard with concentric coloured rings, a bullseye, and scoring labels.
EasyTurtle Graphics
Draw a Rectangle
Draw a rectangle 150 wide and 80 tall using forward and right, with no loop.
EasyTurtle Graphics
Zigzag Path
Draw a zigzag of six lines by turning left and right alternately.
EasyTurtle Graphics
Draw a Pentagon
Draw a regular pentagon with a loop, working the turn out from 360 divided by the number of sides.
EasyTurtle Graphics
Dashed Road Marking
Draw a dashed line by lifting and lowering the pen inside a loop.
EasyTurtle Graphics
Fill a Flag
Draw a flag on a pole with the flag filled in a solid colour.
EasyTurtle Graphics
A Square in Each Corner
Place a small square at four given coordinates using setposition.
EasyTurtle Graphics
Nested Squares Target
Draw three squares inside one another, all sharing the same centre.