Print the value of tau:
# Import math Library
import math
# Print the value of tau
print (math.tau)
Try it Yourself » Definition and UsageThe math.tau
constant returns the value of tau, which is 6.283185307179586.
It is defined as the ratio of the circumference to the radius of a circle. Tau is a circle constant and the value is equivalent to 2π.
Note: Mathematically tau is represented by τ.
Syntax Technical Details Return Value: Afloat
value, 6.283185307179586, representing the mathematical constant tau Python Version: 3.6
Track your progress - it's free!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4