python turtle pattern 2


import turtle as t
t.setup(1537,865)
t.tracer(100)
t.pencolor('cyan')
t.bgcolor('black')
for i in range(1000):
       t.fd(i)
       t.rt(180)
       t.fd(i)
       t.circle(i,90)
       t.circle(i,40)
       t.fd(i)
       t.rt(30)
t.done()
output:  




 subscribe to subhanker codes

Comments

Popular posts from this blog

free fire logo || python turtle graphics code

python turtle animation 15

python turtle animation (3)