×

Python Tutorial

Python Basics

Python I/O

Python Operators

Python Conditions & Controls

Python Functions

Python Strings

Python Modules

Python Lists

Python OOPs

Python Arrays

Python Dictionary

Python Sets

Python Tuples

Python Exception Handling

Python NumPy

Python Pandas

Python File Handling

Python WebSocket

Python GUI Programming

Python Image Processing

Python Miscellaneous

Python Practice

Python Programs

math.tau constant with example in Python

Python math.tau constant: Here, we are going to learn about the math.tau constant of math module with example in Python.
Submitted by IncludeHelp, on April 19, 2019

Python math.tau constant

math.tau constant is a predefined constant, which is defined in math module, it returns the value of mathematical constant "τ" (Tau), the value is 6.283185307179586

Note: math.tau constant is available from Python 3.6

Syntax of math.tau constant:

    math.tau

Return value: float – that is the value of mathematical constant "τ".

Example:

    Input:
    print(math.tau)

    Output:
    6.283185307179586

Python code to demonstrate example of math.tau constant

# python code to demonstrate example of 
# math.tau constant

# importing math module
import math 

# printing value of TAU
print("value of tau = ", math.tau)

Output

value of tau = 6.283185307179586

Reference: Python math library

Advertisement
Advertisement


Comments and Discussions!

Load comments ↻


Advertisement
Advertisement
Advertisement

Copyright © 2025 www.includehelp.com. All rights reserved.