标签:speed begin tle red goto import got back color
from turtle import *
setup(800,600)
speed(0)
pensize(2)
pencolor(‘red‘)
penup()
goto(-150,50)
pendown()
circle(110,360)
right(90)
fd(160)
left(90)
fd(100)
right(125)
back(-100)
penup()
fd(-100)
pendown()
goto(-150,-110)
fd(100)
penup()
goto(-150,-40)
left(125)
pendown()
fd(100)
right(45)
fd(50)
penup()
goto(-150,-20)
left(45)
pendown()
fd(100)
left(45)
fd(50)
penup()
goto(-190,140)
pendown()
left(45)
fd(60)
penup()
right(90)
fd(80)
pendown()
right(90)
fd(60)
penup()
goto(100,100)
pendown()
pensize(5)
seth(0)
color(‘red‘)
begin_fill()
lt(135)
fd(22)
right(180)
circle(8,-180)
backward(8)
right(90)
forward(8)
circle(-8,180)
fd(22)
end_fill()
hideturtle()
penup()
goto(200,200)
pendown()
pensize(5)
seth(0)
color(‘red‘)
begin_fill()
lt(135)
fd(22)
right(180)
circle(8,-180)
backward(8)
right(90)
forward(8)
circle(-8,180)
fd(22)
end_fill()
hideturtle()
penup()
goto(20,-10)
pendown()
pensize(5)
seth(0)
color(‘red‘)
begin_fill()
lt(135)
fd(22)
right(180)
circle(8,-180)
backward(8)
right(90)
forward(8)
circle(-8,180)
fd(22)
end_fill()
hideturtle()
penup()
goto(35,200)
pendown()
pensize(5)
seth(0)
color(‘pink‘)
begin_fill()
lt(135)
fd(22)
right(180)
circle(8,-180)
backward(8)
right(90)
forward(8)
circle(-8,180)
fd(22)
end_fill()
hideturtle()
penup()
goto(200,-200)
pendown()
pensize(5)
seth(0)
color(‘pink‘)
begin_fill()
lt(135)
fd(22)
right(180)
circle(8,-180)
backward(8)
right(90)
forward(8)
circle(-8,180)
fd(22)
end_fill()
hideturtle()
penup()
goto(300,-100)
pendown()
pensize(5)
seth(0)
color(‘red‘)
begin_fill()
lt(135)
fd(22)
right(180)
circle(8,-180)
backward(8)
right(90)
forward(8)
circle(-8,180)
fd(22)
end_fill()
hideturtle()
penup()
goto(140,-100)
pendown()
pensize(5)
seth(0)
color(‘red‘)
begin_fill()
lt(135)
fd(22)
right(180)
circle(8,-180)
backward(8)
right(90)
forward(8)
circle(-8,180)
fd(22)
end_fill()
hideturtle()
penup()
goto(250,10)
pendown()
pensize(5)
seth(0)
color(‘pink‘)
begin_fill()
lt(135)
fd(22)
right(180)
circle(8,-180)
backward(8)
right(90)
forward(8)
circle(-8,180)
fd(22)
end_fill()
hideturtle()
penup()
goto(310,90)
pendown()
pensize(5)
seth(0)
color(‘red‘)
begin_fill()
lt(135)
fd(22)
right(180)
circle(8,-180)
backward(8)
right(90)
forward(8)
circle(-8,180)
fd(22)
end_fill()
hideturtle()
标签:speed begin tle red goto import got back color
原文地址:https://www.cnblogs.com/huihui55/p/12535746.html