cool turtle programs python code example
Example 1: python turtle tutorial
>>> turtle.home()
>>> turtle.dot()
>>> turtle.fd(50); turtle.dot(20, "blue"); turtle.fd(50)
>>> turtle.position()
(100.00,-0.00)
>>> turtle.heading()
0.0
Example 2: python turtle tutorial
>>> turtle.setheading(90)
>>> turtle.heading()
90.0