ExampleEdit & Run
#import the cmath module
import cmath

#print the value of tau
print(cmath.tau)
Output:
6.283185307179586 [Finished in 0.023374106000119355s]

The math.tau attribute holds the value of the mathematical constant Tau up to 15 decimal places. The Tau constant in math is equivalent to twice the value of Pi( π) i.e 2 * Pi.

Syntax:
cmath.tau
ExampleEdit & Run
import cmath

print(cmath.tau)
print(2 * cmath.pi)
print(cmath.tau == (2 * cmath.pi))
Output:
6.283185307179586 6.283185307179586 True [Finished in 0.027384409000660526s]