Batch 2
This commit is contained in:
60
poppy.py
Normal file
60
poppy.py
Normal file
@@ -0,0 +1,60 @@
|
||||
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()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user