Inverse of Tan in python (tan-1) Inverse of Tan in python (tan-1) python python

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


you can simply multiply the radians by 180/pi.No need of importing ;)


>>>from math import *>>>degrees(atan(1.18))>>>49.720136931043555