turtle.heading()
Return the turtle’s current heading (value depends on the turtle mode, see mode()
).
>>> turtle.home() >>> turtle.left(67) >>> turtle.heading() 67.0
turtle.heading()
Return the turtle’s current heading (value depends on the turtle mode, see mode()
).
>>> turtle.home() >>> turtle.left(67) >>> turtle.heading() 67.0
Please login to continue.