101 lines
1.3 KiB
Python
101 lines
1.3 KiB
Python
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|