Read a free book chapter
Think Python, 2nd edition
Explore how a short sequence of lines and turns can grow into shapes, patterns and drawings. This is an optional coding stretch, rather than a first step you have to complete.
Try translating one of your line drawings into a route of forward moves and turns. You can sketch the route on paper before considering code.
Read a free book chapterOpens Chapter 4, Case study: interface design, on the author’s site. Reading is free and needs no account. Running the optional examples requires a compatible Python setup; you can stay with the paper activity.
About this reading
The selected chapter covers drawing instructions, shapes, functions and loops. It is a longer technical read; choose a small section or skip it. The complete book and linked sites have not been assessed here.
