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()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
27
roundy roundy.py
Normal file
27
roundy roundy.py
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
import turtle
|
||||||
|
t = turtle
|
||||||
|
t.bgcolor("green")
|
||||||
|
t.speed(1000000000000000000000000000000000000000000)
|
||||||
|
t.color("white")
|
||||||
|
q=0
|
||||||
|
while q < 40 :
|
||||||
|
t.fd (200)
|
||||||
|
t.backward(200)
|
||||||
|
t.lt(22.5)
|
||||||
|
t.fd(200)
|
||||||
|
t.backward(200)
|
||||||
|
t.lt(22.5)
|
||||||
|
t.fd(200)
|
||||||
|
t.backward(200)
|
||||||
|
t.color("black")
|
||||||
|
t.rt(67.5)
|
||||||
|
t.fd(200)
|
||||||
|
t.backward (200)
|
||||||
|
t.lt(22.5)
|
||||||
|
t.color("white")
|
||||||
|
t.lt(45)
|
||||||
|
t.fd(200)
|
||||||
|
t.backward(200)
|
||||||
|
t.rt(45)
|
||||||
|
q=q+1
|
||||||
|
|
||||||
33
whatever this turns out to be.py
Normal file
33
whatever this turns out to be.py
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# #important things# #
|
||||||
|
|
||||||
|
import turtle
|
||||||
|
t = turtle
|
||||||
|
t.bgcolor("black")
|
||||||
|
t.color("red")
|
||||||
|
t.fillcolor("blue")
|
||||||
|
t.shape("turtle")
|
||||||
|
|
||||||
|
# #drawing part one# #
|
||||||
|
|
||||||
|
u = 0
|
||||||
|
while u < 4:
|
||||||
|
t.begin_fill()
|
||||||
|
t.circle(500)
|
||||||
|
t.end_fill()
|
||||||
|
t.begin_fill()
|
||||||
|
t.circle(250)
|
||||||
|
t.end_fill()
|
||||||
|
t.begin_fill()
|
||||||
|
t.circle(125)
|
||||||
|
t.end_fill()
|
||||||
|
u = u + 1
|
||||||
|
t.rt(90)
|
||||||
|
|
||||||
|
# #drawing part two
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# #end# #
|
||||||
|
|
||||||
|
t.hideturtle()
|
||||||
|
t.done()
|
||||||
Reference in New Issue
Block a user