The math.atan() function returns the trigonometric inverse tangent (also known as arc tangent) of a number.

Syntax:
math.atan(x)

Where x is the number for which you want to find the inverse tangent. The function computes the angle (in radians) whose tangent is equal to x. 

ExampleEdit & Run
import math

number = 1
inverse_tangent = math.atan(number)

print(inverse_tangent)
copy
Output:
0.7853981633974483 [Finished in 0.012155393604189157s]

In the above case, the inverse tangent of 1 is approximately 0.7853981633974483 radians. We can use the math.degrees() to get the angle in degrees.

ExampleEdit & Run
import math

number = 1
inverse_tangent = math.atan(number)

print(math.degrees(inverse_tangent))
copy
Output:
45.0 [Finished in 0.010141558013856411s]
ExampleEdit & Run
import math

print(math.degrees(math.atan(5.671281819617707)))
print(math.degrees(math.atan(3.7320508075688776)))
print(math.degrees(math.atan(1.7320508075688767)))
print(math.degrees(math.atan(0.5773502691896257)))
copy
Output:
80.0 75.0 59.99999999999999 29.999999999999996 [Finished in 0.010579983238130808s]