HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Math Methods : Return the arc tangent of y/x in radians
The math.atan2()
method returns the arc tangent of y/x,
in radians. Where x and y are the coordinates of a point (x,y).
The returned value is between PI and -PI.
Parameter | Description |
---|---|
y | Required. Specifies a positive or negative number |
x | Required. Specifies a positive or negative number |
Return Value: | A float value, representing arc tangent of y/x in radians, which is between PI and -PI |
---|---|
Python Version: | 1.4 |