Teach Your Kids To Code: A Parent-friendly Guide to Python Programming

(vip2019) #1
Turtle Graphics: Drawing with Python 29

Figure 2-9: Adding an extra 90 degrees to each turn in ColorSpiral.py
turns it into RubberBandBall.py.


Save this new version as RubberBandBall.py, or go to
http://www.nostarch.com/teachkids/ and find the program
in the source code for Chapter 2.

Free download pdf