Draw a Rectangle in Python Turtle

import turtle
import time
turtle.color("red")
turtle.forward(100)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(100)
turtle.left(90)
turtle.forward(50)
turtle.left(90)

Output:

Draw a Rectangle in Python Turtle