Posts

PYTHON PROGRAM

Image
PYTHON PROGRAM FOR DRAWING CIRCLES USING TURTLE import turtle t=turtle.Turtle() s=turtle.Screen() colors=["red","purple","green","blue","orange","yellow"] t=turtle.Pen() s.bgcolor("tomato") for x in range(150):     t.pencolor(colors[x%6])     t.width(x/100+1)     t.forward(120)     t.left(59) t.hideturtle()                                                 OUTPUT :

LIFE

Image