Monday, December 16, 2019

A python program to draw star using Turtle Programming

Write a python program to draw star using Turtle Programming :


Answer:

import turtle 
 
star = turtle.Turtle()
 
for i in range(50):
    star.forward(50)
    star.right(144)
     
turtle.done()

No comments:

Post a Comment

Featured posts

Mongolia

 Mongolia! Mongolia is a vast and sparsely populated country in East Asia, known for its stunning natural beauty, rich history, and unique c...

Popular posts