Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python program to draw star

# Python program to draw star
# using Turtle Programming
import turtle
star = turtle.Turtle()
 
star.right(75)
star.forward(100)
 
for i in range(4):
    star.right(144)
    star.forward(100)
     
turtle.done()
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #Python #program #draw #star
ADD COMMENT
Topic
Name
2+2 =