Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python turtle shapes

from turtle import Turtle, Screen

# shapes: "arrow", "turtle", "circle", "square", "triangle", "classic"
# option 1
my_turtle = Turtle(shape="circle")

# option 2
my_turtle.shape("triangle")

screen = Screen()
screen.exitonclick()
 
PREVIOUS NEXT
Tagged: #python #turtle #shapes
ADD COMMENT
Topic
Name
3+8 =