# Inspired by our cat Pietje

from turtle import *
from random import *

# Set up the screen
screen = turtle.Screen()
screen.title("Rectangle Drawing with Turtle")

# Create a turtle instance
pen = turtle.Turtle()

# Set the speed of the turtle
pen.speed(1)

# Function to draw a rectangle
def draw_rectangle(width, height):
    for _ in range(2):
        pen.forward(width)  # Move forward by the width
        pen.right(90)       # Turn right by 90 degrees
        pen.forward(height) # Move forward by the height
        pen.right(90)       # Turn right by 90 degrees

# Draw a rectangle with width 200 and height 100
draw_rectangle(200, 100)

# Hide the turtle after drawing
pen.hideturtle()

# Keep the window open
turtle.done()