Skip to content

What Else Can a Turtle Do?

Drawing:

  • jet.penup() # no drawing happens when the pen is up
  • jet.pendown() # drawing occurs when the turtle moves
  • jet.color("red") # set the drawing color
  • jet.pensize(5) # width of the line from 1 to 20
  • jet.begin_fill() # start filling the drawing region
  • jet.end_fill() # end the fill region

Miscellaneous:

  • jet.clear() # clears the drawing area
  • jet.hideturtle() # hides the turtle icon

More: