Python Reading
Key Ideas
- Turtle Module Online Documentation
- Turtle Module Methods
- Creation: Turtle()
- Movement: forward(), backward(), goto()
- Turn: left(), right()
- Drawing Color: color(), fillcolor(), begin_fill(), end_fill()
- Status: heading(): degrees of rotation, position(): x, y coordinates
- Turtle Type: shape(): ex values: arrow, classic, turtle, circle
- Turtle Imprints: stamp(), dot()
- Looping Construct: for
Active Learning
- Take a look at racing-turtles.py and make sure that you understand it fully.
- Modify the program so that a third racing turtle starts at coordinate (-200, -100).
- How could the original program be improved?
- Time permitting, make other enhancements to the program.