- Get link
- X
- Other Apps
Featured Post
- Get link
- X
- Other Apps
Source Code:
import turtle
colors=['black','yellow','blue','purple','red']
draw=turtle.Pen()
turtle.bgcolor('white')
draw.speed(100)
def sqrfunc(size):
for i in range(360):
draw.pencolor(colors[i%5])
draw.width(i/100+2)
draw.forward(i)
draw.left(-59)
sqrfunc(5)

Comments
Post a Comment
If you any Query and get more information please comment it. Thanks for visit our blog.