Batch 1
This commit is contained in:
34
exotic flower.py
Normal file
34
exotic flower.py
Normal file
@@ -0,0 +1,34 @@
|
||||
import turtle
|
||||
t = turtle
|
||||
t.bgcolor("black")
|
||||
t.speed (59999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)
|
||||
t.color ("red")
|
||||
q=0
|
||||
while q < 16:
|
||||
t.circle(100)
|
||||
t.left(22.5)
|
||||
q=q+1
|
||||
|
||||
|
||||
t.color("orange")
|
||||
t.left(11.25)
|
||||
p=0
|
||||
while p < 16:
|
||||
t.circle(50)
|
||||
t.left(22.5)
|
||||
p=p+1
|
||||
|
||||
|
||||
|
||||
t.left(5.625)
|
||||
r=0
|
||||
t.color("yellow")
|
||||
while r < 16:
|
||||
t.circle(25)
|
||||
t.left(22.5)
|
||||
r=r+1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user