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

Summer

 

Popular posts