[Python-ideas] π = math.pi

Serhiy Storchaka storchaka at gmail.com
Thu Jun 1 02:47:57 EDT 2017


What you are think about adding Unicode aliases for some mathematic 
names in the math module? ;-)

math.π = math.pi
math.τ = math.tau
math.Γ = math.gamma
math.ℯ = math.e

Unfortunately we can't use ∞, ∑ and √ as identifiers. :-(



More information about the Python-ideas mailing list