Python math.tau Constant
Python math.tau Returns the mathematical constant tau = 6.283185...; tau is a circle constant equal to 2 times pi, the ratio of a circle's circumference to its radius.
The tau value is 6.283185307179586.
Syntax
The syntax of the math.tau constant is as follows:
math.tau
Return Value
Returns the floating-point number 6.283185307179586, representing the ratio of a circle's circumference to its radius.
Example
The following example returns tau:
Example
Import the math package
import
math
Output tau
(
math
.
tau
)
Output result:
6.283185307179586
Python math Module