# 8.6. More Turtle Repetition Practice¶

This section provides more practice using repetition and turtles.

Mixed up program

The following program uses the stamp method to create an X of turtle shapes as shown below, but the lines are mixed up. The program should do all necessary set-up, create the turtle, set the shape to “turtle”, and pick up the pen. Stamp the blue turtles before you stamp the green ones.

Arrange and indent the blocks correctly. You will not need them all.

The following program uses the stamp method to create two squares of turtle shapes as shown below, but the lines are mixed up. The program should do all necessary set-up, create the turtle, set the shape to “turtle”, and pick up the pen. Draw the blue square before you draw the green one.

Arrange and indent the blocks correctly. You will not need them all.

In the program below, we want to draw a series of polygons, from 10 sides down to 3 sides, each with a side length of 100. The polygon procedure is provided as is starter code for the main part of the program. Add a loop and use it to call polygon. Make sure that you draw everything from a 10 sided to a 3 sided polygon, counting down (10, 9, 8, … 3). Each shape should have a size (side length) of 100.

If you are having trouble, try printing out the loop counter so you can see which numbers your loop is counting through.

Turtle procedures