setheading in python code example
Example 1: how to hide turtle in python
>>> turtle.hideturtle()
Example 2: turtle write
turtle.write(arg, move=False, align="left", font=("Arial", 8, "normal"))
Example 3: setheading in python
turtle.setheading(direction) #set the direction for turtle