import math #The math.atan() method returns the arc tangent of a number (x) as a numeric value between -PI/2 and PI/2 radians. value=1 # for the output in radians math.atan(value) # for the output in degrees math.degrees(math.atan(value))