Monday, March 5, 2018

Number atan() Method


Number atan() Method in Python 3:


The atan() method returns the arc tangent of x, in radians.
Syntax
import math
atan(x)

Note: This function is not accessible directly, so we need to import the math module and then we need to call this function using the math static object.

Parameters
x - This must be a numeric value.
Return Value
This method returns arc tangent of x, in radians.

Example


and the output is :