Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python turtle star

#turtle.home()
turtle.left(90)
turtle.heading()
90.0

#Change angle measurement unit to grad (also known as gon, grade, or gradian and equals 1/100-th of the right angle.)
turtle.degrees(400.0)
turtle.heading()
#100.0
turtle.degrees(360)
turtle.heading()
#90.0
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #Python #turtle #star
ADD COMMENT
Topic
Name
9+4 =