Draw star ⭐️ using simple python code

Опубликовано: 16 Июль 2026
на канале: LEARN WITH LIKI
295
7

Learn how to make a star with python if you have any issues the code is given below you can go through it
Share it with your friends
Don’t forget to like and subscribe
Thank you for watching☺️
instagram -   / likhith_____21  
Code :

import turtle

n=36
#n is number of lines in star

pen=turtle.Turtle()

for i in range(n):
pen.forward(i*10)
pen.right(144)

turtle.done()