Sunday, August 30, 2020

write a python program using turtle - star shape

 import turtle

 my_pen = turtle.Turtle()

 for i in range(50): 

my_pen.forward(50)

 my_pen.right(144) 

turtle.done()

No comments:

Post a Comment