import turtle wn = turtle.Screen() t = turtle.Turtle() t.speed(10) # max speed # draw petal def draw_petal(): for _ in range(2): t.forward(50) t.left(45) t.forward(50) t.left(135) # draw flower for i in range(8): draw_petal() t.left(45) # draw stem of flower t.penup() t.goto(0, -120) t.color("green") t.pendown() t.right(90) t.forward(200) t.hideturtle() wn.exitonclick()