How do you make the turtle invisible?
When we use the turtle module in Python, we can hide the turtle by using the hideturtle() function.
import turtle
t = turtle.Turtle()
def draw_sqr():
for i in range(7):
t.forward(100)
t.right(51.5)
draw_sqr()
t.hideturtle()
Output: