Home >>Python cmath Module >Python cmath.tau Constant

Python cmath.tau Constant

Python cmath.tau Constant

Python cmath.tau constant is used to return tau whose value is equal to 6.283185307179586. It is defined as the ratio of the circumference to the radius of a circle. It's value is equivalent to 2π.

Syntax:
cmath.tau
Here is an example of Python cmath.tau constant:

import cmath
print (cmath.tau)

Output:
6.283185307179586

No Sidebar ads