用 Turtle 绘制爱心
import turtle
Love = turtle.Turtle()
Love.speed(3)
Love.penup()
Love.setpos(0, -100)
Love.pendown()
Love.begin_fill()
Love.fillcolor("red")
Love.left(140)
Love.forward(224)
for i in range(200):
Love.right(1)
Love.forward(2)
Love.left(120)
for i in range(200):
Love.right(1)
Love.forward(2)
Love.forward(224)
Love.end_fill()
Love.penup()
Love.hideturtle()
# 点击退出
turtle.exitonclick()