Python Class Turtle Graphics

Introduction

Use the Python Turtle Graphics module to do the projects/exercises below.

Turtle Graphics Documentation
PythonTurtle.org

Turtle Program Template

from turtle import *
....
....
....
mainloop()

Projects/Exercises

1. draw a hexagon (use a for loop)
2. draw a pentagon (use a for loop)
3. draw a circle (use a for loop)
4. draw 1,2,3 with a different color for each line segment
   (black, red, green, blue - repeat as needed)
   (see the Tk color names and use other colors)
5. draw 1,2,3 centered at 0,0
6. draw 1,2,3 filled with a color
7. draw a hexagram (use for loops)
8. draw 7 filled with a color
9. draw a 5 pointed star
10. draw 9 filled with a color
11. draw 7,9 with each area a different color

99. Draw a Spirograph