Python Turtle Library to Draw Star Pattern || Python
In this we are going to see a basic program to draw star pattern using turtle library in Python Programming Language.



import turtle

t = turtle.Turtle()

t.width(2)
t.speed(15)
t.pencolor('cyan')
for i in range(105):
    t.forward(i*4)
    t.right(137)

turtle.done()

turtle.exitonclick()


# Coded by Shreya Idate


#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post