Numerical Constants

math.tau

Approximate a full turn in radians, equal to twice pi.

Formal Syntax & Structure

python syntaxpython
math.tau

Return Value

float

The floating-point constant described above.

Working Example

Example Snippetpython
import mathprint(round(math.tau, 6))
Python Reference