❮ Circle
❯
- steps
Square using the circle command
examples/turtle/square_by_circle.py
import turtle trt = turtle.getturtle() trt.circle(100, steps=4) turtle.exitonclick()
examples/turtle/square_by_circle_set_angle.py
import turtle trt = turtle.getturtle() trt.right(45) trt.circle(100, steps=4) turtle.exitonclick()