Ticker

6/recent/ticker-posts

Unique Pattern With Turtle In Python - pattern 9

   







    In this program we are going to make a very unique pattern in python using turtle library.

    Its super easy to code and so much fun. Try out this program and the code is following :




import turtle # import turtle

turtle.tracer(False# If you want to see the success graph directly, add this line, you will not see the drawing process

= turtle.Pen() # Pick up the pen
 

for i in range(180): #repeat 180 times

    t.forward(i)           

    t.left(59#Turn left 90 degrees
 

turtle.done()


Post a Comment

0 Comments