turtle.seth(to_angle)
Parameters: | to_angle – a number (integer or float) |
---|
Set the orientation of the turtle to to_angle. Here are some common directions in degrees:
standard mode | logo mode |
---|---|
0 - east | 0 - north |
90 - north | 90 - east |
180 - west | 180 - south |
270 - south | 270 - west |
>>> turtle.setheading(90) >>> turtle.heading() 90.0
Please login to continue.