from turtle import Turtle sophia = Turtle() def draw_square(turtle, length): for _ in range(4): turtle.forward(length) turtle.right(90) draw_square(sophia, 100) sophia.screen.mainloop()