Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Python | cmath.tau constant

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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.




# importing cmath library
import cmath
  
# using cmath.pi constant
gfg = cmath.tau * cmath.pi
  
print(gfg)

Output :

19.739208802178716

Example #2 :




# importing cmath library
import cmath
  
# using cmath.tau constant
gfg = 2 * cmath.tau
  
print(gfg)

Output :

12.566370614359172

My Personal Notes arrow_drop_up
Last Updated : 09 Sep, 2019
Like Article
Save Article
Similar Reads
Related Tutorials