'Return the turtle\'s current heading.
No arguments.
Example (for a Turtle instance named turtle):
>>> turtle.left(67)
>>> turtle.heading()
67.0'

def heading(self):

    (x, y) = self._orient
    result = (round(((math.atan2(y, x) * 180.0) / math.pi), 10) % 360.0)
    result /= self._degreesPerAU
    return ((self._angleOffset + (self._angleOrient * result)) % self._fullcircle)
