Batch 1
This commit is contained in:
100
Cubs.py
Normal file
100
Cubs.py
Normal file
@@ -0,0 +1,100 @@
|
||||
import turtle
|
||||
t = turtle
|
||||
t.color("red")
|
||||
t.fillcolor("red")
|
||||
t.speed(111111111111111111111111111111111111111111111111111111111111111111111111111111)
|
||||
k=0
|
||||
while k < 8:
|
||||
t.begin_fill()
|
||||
t.circle(350, steps = 4)
|
||||
t.end_fill()
|
||||
t.lt(45)
|
||||
k=k+1
|
||||
|
||||
|
||||
t.color("orange")
|
||||
t.fillcolor("orange")
|
||||
k=0
|
||||
while k < 8:
|
||||
t.begin_fill()
|
||||
t.circle(300, steps = 4)
|
||||
t.end_fill()
|
||||
t.lt(45)
|
||||
k=k+1
|
||||
|
||||
|
||||
t.color("yellow")
|
||||
t.fillcolor("yellow")
|
||||
k=0
|
||||
while k < 8:
|
||||
t.begin_fill()
|
||||
t.circle(250 , steps = 4)
|
||||
t.end_fill()
|
||||
t.lt(45)
|
||||
k=k+1
|
||||
|
||||
|
||||
t.color("green")
|
||||
t.fillcolor("green")
|
||||
k=0
|
||||
while k < 8:
|
||||
t.begin_fill()
|
||||
t.circle(200 , steps = 4)
|
||||
t.end_fill()
|
||||
t.lt(45)
|
||||
k=k+1
|
||||
|
||||
|
||||
t.color("blue")
|
||||
t.fillcolor("blue")
|
||||
k=0
|
||||
while k < 8:
|
||||
t.begin_fill()
|
||||
t.circle(150 , steps = 4)
|
||||
t.end_fill()
|
||||
t.lt(45)
|
||||
k=k+1
|
||||
|
||||
|
||||
t.color("indigo")
|
||||
t.fillcolor("indigo")
|
||||
k=0
|
||||
while k < 8:
|
||||
t.begin_fill()
|
||||
t.circle(100 , steps = 4)
|
||||
t.end_fill()
|
||||
t.lt(45)
|
||||
k=k+1
|
||||
|
||||
|
||||
t.color("violet")
|
||||
t.fillcolor("violet")
|
||||
k=0
|
||||
while k < 8:
|
||||
t.begin_fill()
|
||||
t.circle(50 , steps = 4)
|
||||
t.end_fill()
|
||||
t.lt(45)
|
||||
k=k+1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user