from turtle import *
speed(4)
bgcolor('black')
hideturtle()
lt(180)
fd(100)
lt(180)
def sqr():
fd(240)
lt(90)
fd(60)
lt(90)
fd(240)
lt(90)
fd(60)
lt(180)
fd(60)
rt(90)
color('green')
begin_fill()
sqr()
end_fill()
color('white')
begin_fill()
sqr()
end_fill()
color('orange')
begin_fill()
sqr()
end_fill()
color('white')
lt(90)
fd(10)
lt(90)
fd(7)
lt(90)
fd(430)
lt(90)
fd(7)
lt(90)
fd(430)
penup()
rt(90)
fd(120)
rt(90)
fd(99.5)
pendown()
color('blue')
def j():
fd(25)
lt(180)
fd(25)
for i in range(24):
j()
lt(15)
fd(25)
lt(90)
pensize(2.5)
circle(25)
penup()
rt(110)
fd(170)
pendown()
done()
Comments
Post a Comment