Basic design using turtle

         Welcome to make basic desgin


This is basic desgin using turtle in python.



import turtle
t =turtle.Turtle()
s=turtle.Screen()
s.bgcolor('black')
t.width(1)
t.speed(25)
col=('magenta','yellow','green')
for i in range(500):
t.pencolor(col[i%3])
t.forward(i*4)
t.right(121)
done()

Comments

Popular posts from this blog

Screen Recording using python.

wallpaper changer.

Find any color from image using python