❮ Line
❯
- forward
- left
Square (forward, left)
examples/turtle/square.py
import turtle trt = turtle.getturtle() trt.forward(100) trt.left(90) trt.forward(100) trt.left(90) trt.forward(100) trt.left(90) trt.forward(100) turtle.exitonclick()