Change the Turtle Shape¶
With the turtle shape() method we can change your turtle shape to be any of the following shapes
- arrow
- turtle
- circle
- square
- triangle
- classic
import turtle
dan = turtle.Turtle()
dan.shape('square')
The classic
shape is a small arrow.
Using a List of Shapes¶
What if we want to use a list of shapes?
import turtle, time
dan = turtle.Turtle()
myList = ["square", "circle", 'triangle', 'arrow', 'classic', 'turtle']
for index in range(0, len(myList)):
dan.shape(myList[index])
time.sleep(1)
import turtle, time
dan = turtle.Turtle()
myList = ["square", "circle", 'triangle', 'arrow', 'classic', 'turtle']
for myShape in myList:
dan.shape(myShape)
time.sleep(1)