References: For Loops and Drawing Shapes¶
-
Wikipedia: For Loop — https://en.wikipedia.org/wiki/For_loop The Wikipedia article on for loops explains the concept across many programming languages, showing how counting loops work and how Python's
forloop compares to loops in Scratch and other languages students may know. -
Wikipedia: Control Flow — https://en.wikipedia.org/wiki/Control_flow This article covers how programs decide which instructions to run and in what order, including loops and iteration. It gives students a broader view of why looping is a fundamental building block in every programming language.
-
Wikipedia: Regular Polygon — https://en.wikipedia.org/wiki/Regular_polygon Explains the geometry of regular polygons — equal side lengths and equal angles — which directly underpins the turtle-drawing formulas in this chapter, including how exterior angles determine the turning amount for any n-sided shape.
-
Python Crash Course by Eric Matthes (No Starch Press) Chapter 4 covers
forloops andrange()in depth with clear examples and exercises that reinforce the counting patterns students need to draw polygons and repeat actions in turtle graphics. -
Python for Kids by Jason R. Briggs (No Starch Press) Written specifically for young learners, this book introduces
forloops and turtle graphics together in an encouraging, visual style that matches the age and experience level of students in this course. -
Python Official Docs — More Control Flow Tools — https://docs.python.org/3/tutorial/controlflow.html The official Python tutorial section on
forloops andrange()is the authoritative reference for exactly how iteration works in Python 3, including the three-argument form ofrange()with start, stop, and step. -
Real Python — Python "for" Loops (Definite Iteration) — https://realpython.com/python-for-loop/ A thorough, beginner-friendly guide to Python
forloops coveringrange(), loop variables, and common patterns. Includes interactive examples that help students see each concept in action before writing their own code. -
W3Schools — Python For Loops — https://www.w3schools.com/python/python_for_loops.asp A concise, example-driven reference page for Python
forloops andrange()with a built-in "Try it Yourself" editor. Useful as a quick look-up when students forget syntax while working on polygon-drawing exercises. -
Programiz — Python for Loop — https://www.programiz.com/python-programming/for-loop Programiz covers
forloops,range(), and loop variables with short, runnable examples and clear diagrams. The visual flow charts help visual learners understand iteration before applying it to turtle graphics projects. -
Khan Academy — Intro to Python Fundamentals: Loops — https://www.khanacademy.org/computing/intro-to-python-fundamentals Khan Academy's free Python course includes video explanations and interactive coding challenges on loops, making it an ideal supplement for students who want extra practice or a different explanation of
forloops andrange().