61 lines
558 B
Python
61 lines
558 B
Python
import turtle
|
|
t = turtle
|
|
t.speed(99999999999999999999999999)
|
|
t.lt(180)
|
|
t.fillcolor("green")
|
|
t.color("green")
|
|
t.fd(10)
|
|
t.begin_fill()
|
|
t.fd(20)
|
|
t.lt(90)
|
|
t.fd(500)
|
|
t.lt(90)
|
|
t.fd(20)
|
|
t.lt(90)
|
|
t.fd(500)
|
|
t.end_fill()
|
|
t.backward(10)
|
|
t.fillcolor("red")
|
|
t.color("red")
|
|
a=0
|
|
while 8 > a:
|
|
t.begin_fill()
|
|
t.circle(100)
|
|
t.end_fill()
|
|
t.lt(45)
|
|
a=a+1
|
|
#
|
|
#
|
|
t.right(90)
|
|
t.fd(5)
|
|
t.fillcolor("black")
|
|
t.color("black")
|
|
t.begin_fill()
|
|
t.circle(20)
|
|
t.end_fill()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|