HanuLab HanuLab
🗺️ Map⚔️ Apprentice › 🐢 Turtle Art

Lesson 4 — Loops Inside Loops: A Geometric Flower

⏱ 30–40 minutes 💻 Write Python that draws, right in the browser 💡 Nested loops: the inner one draws a shape, the outer one repeats and spins it — indentation decides which loop a line belongs to
💡 Play away! To save stars, ask a parent to log in
👨‍👩‍👧 Notes for parents

Level: Apprentice — roughly Grade 7 / ages 12–13 Duration: 30–40 minutes Format: Write Python that draws, right in the browser Concept: Nested loops: the inner one draws a shape, the outer one repeats and spins it — indentation decides which loop a line belongs to

Learning Objective

Kids write nested loops to draw repeating patterns and can explain which loop each line belongs to from its indentation.

Do It Together (Parent-Child Co-participation)

Let your child teach you: have them predict what happens if right(45) moves 4 spaces further in, then run it to check.