Skip to main content

Make Different Types of Pattern Using Just Few Lines Of Python | Coding With Roannie | Python | PG

 

Make Different Types of Pattern Using Just Few Lines Of Python | Coding With Roannie | Python | PG


SOURCE CODE :

import turtle
turtle.bgcolor("aqua")

squary=turtle.Turtle()
squary.speed(20)
squary.pencolor("orange")

for i in range(500):

     squary.forward(i)
     squary.left(1200)

     #you can also change the design of pattern by changing left value