import turtle |
def curvemove(): |
for i in range ( 200 ): |
turtle.right( 1 ) |
turtle.forward( 1 ) |
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( 'Azure' , font = ( 'SimHei' , 15 , 'bold' )) |
turtle.hideturtle() |
初级程序员
by: 云代码会员 发表于:2020-09-20 22:04:09 顶(4) | 踩(2) 回复
回复评论