import turtle

# Create a turtle object
t = turtle.Turtle()

# Set the speed of the turtle
t.speed(3)

# Draw a square
for _ in range(4):
    t.forward(100)  # Move forward by 100 units
    t.left(90)      # Turn left by 90 degrees

# Hide the turtle and display the window
t.hideturtle()
turtle.done()
