Python | cmath.tau constant
Last Updated :
09 Sep, 2019
With the help of cmath.tau
constant, we can use this constant value in the calculation of mathematical formulas.
Syntax : cmath.tau
Return : Return the tau value.
Example #1 :
In this example we can see that by using cmath.tau
constant, we are able to drive the mathematical formulas very easily.
import cmath
gfg = cmath.tau * cmath.pi
print (gfg)
|
Output :
19.739208802178716
Example #2 :
import cmath
gfg = 2 * cmath.tau
print (gfg)
|
Output :
12.566370614359172
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...