Drawing polygons in python turtle

geniusrko at gmail.com geniusrko at gmail.com
Mon Feb 10 18:44:28 EST 2014


Hi
can anyone help finding the angle to draw different polygons shapes
in this example 
import turtle 
wm = turtle.Screen()
alex = turtle.Turtle()
for i in range(5):
 alex.left(216)
 alex.forward(50)
wm.exitonclick() 
Why do we use 216


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /