import turtle
# Create a turtle screen
screen = turtle.Screen()
# Create a turtle object
t = turtle.Turtle()
t.pencolor("blue")
# Function to draw a five-pointed star
def draw_star(size):
for _ in range(5):
t.forward(size)
t.right(144)
# Set turtle speed
t.speed(50)
# Position the turtle
t.penup()
t.goto(-50, 0)
t.pendown()
# Draw a star with a size of 100 units
draw_star(100)
# Close the screen on click
screen.exitonclick()
To embed this program on your website, copy the following code and paste it into your website's HTML: