Featured Post

Python Turtle - Draw Multi Color Square Design | 3D Square |Draw Square Pattern By #BKTutorial






 Source Code:

import turtle

colors=[ 'blue', 'red', 'yellow','green']

draw=turtle.Pen()

turtle.bgcolor('white')

draw.speed(1000)


for d in range(360):

     draw.pencolor(colors[d%3])

     draw.width(d/100+2)

     draw.forward(d)

     draw.left(90)


draw.hideturtle()




Comments