tau nb_math.tau常数,带Python示例
tau nb
Python math.tau常數(shù) (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
math.tau常數(shù)是在數(shù)學(xué)模塊中定義的預(yù)定義常數(shù),它返回?cái)?shù)學(xué)常數(shù)“ τ ” ( Tau )的值,該值為6.283185307179586
Note: math.tau constant is available from Python 3.6
注意: math.tau常數(shù)可從Python 3.6獲得
Syntax of math.tau constant:
math.tau常數(shù)的語(yǔ)法:
math.tauReturn value: float – that is the value of mathematical constant "τ".
返回值: float –這是數(shù)學(xué)常數(shù)“τ”的值。
Example:
例:
Input:print(math.tau)Output:6.283185307179586Python代碼演示math.tau常量示例 (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.283185307179586Reference: Python math library
參考: Python數(shù)學(xué)庫(kù)
翻譯自: https://www.includehelp.com/python/math-tau-constant-with-example.aspx
tau nb
總結(jié)
以上是生活随笔為你收集整理的tau nb_math.tau常数,带Python示例的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: IOS中触摸事件学习
- 下一篇: Node代码转换为Js