6
Possible turtle exercises: 1. Polygon: Write a program to input the number of sides and draw the polygon with that number of sides. 2. Star: Write a program to input the number of points and draw the star with that number of points. Parallelograms: turtle_snowflake.py turtle_x_made_of_squares.py:

 · Web viewPossible turtle exercises: Polygon: Write a program to input the number of sides and draw the polygon with that number of sides. Star: Write a program to input the number

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Possible turtle exercises:

1. Polygon: Write a program to input the number of sides and draw the polygon with that number of sides.

2. Star: Write a program to input the number of points and draw the star with that number of points.

Parallelograms:

turtle_snowflake.py

turtle_x_made_of_squares.py:

Nested loops, functions

Nested loops. Octagons, but make it work for any polygon

Nested loops. 32 pentagons of length 70.

Let's draw some of these:

turtle_8_point_star_parallelograms.py:

Tom: 45 parallelograms

Tom: 200 lines Tom: 90 parallelograms. Nested loops