2016-04-02 30 views

cevap

2
import time 
import turtle 
a = turtle.Turtle() 
x = 0 
y = 10 
factor = 0.55 
while True: 
    a.forward (y) 
    x = factor * (x + y) 
    a.left(90) 
    a.forward (x) 
    y = factor * (x + y) 
    a.left (90) 
    time.sleep (0.02) 

enter image description here

: İşte kod
İlgili konular