用turtle画爱心
from turtle import*
from math import*
setup(3000,3000,10,10)
pensize(3)
speed(20)
hideturtle()
up()
goto(-600,100)
down()
color("black")
showturtle()
circle(40)
right(90)
fd(70)
left(90)
fd(40)
right(90)
fd(60)
up()
hideturtle()
goto(-600,30)
right(45)
sho
原创
2021-04-07 20:58:27 ·
207 阅读 ·
0 评论