Inverse of Tan in python (tan-1)

math.atan(x) returned in radian, if you want degree, convert it using math.degrees(x)

Converts angle x from radians to degrees.

>>> import math
>>> math.degrees(math.atan(1.18))
49.720136931043555

Leave a Comment