Batch 2
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user