import turtle
def curvemove():
for i in range(200):
turtle.right(1)
turtle.forward(1)
turtle.speed(0) //0:fastest
turtle.color('red')
turtle.begin_fill()
turtle.left(140)
turtle.forward(111.65)
curvemove()
turtle.left(120)
curvemove()
turtle.forward(111.65)
turtle.end_fill()
turtle.penup()
turtle.goto(-40, -50)
turtle.pendown()
turtle.write('武汉加油', font = ('SimHei', 15, 'bold'))
turtle.hideturtle()
python-武汉加油
最新推荐文章于 2022-01-02 00:34:08 发布