Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Turtle shape

  • shapesize
  • shape('square')
import turtle

trt = turtle.getturtle()
trt.shapesize(3, 5)  # height, width , default is 1,1
trt.forward(50)


trt.shape('classic')
trt.shape('arrow')
trt.shape('circle')
trt.shape('triangle')
trt.shape('square')
trt.shape('turtle')

turtle.exitonclick()