[Python-ideas] π = math.pi

Ivan Levkivskyi levkivskyi at gmail.com
Thu Jun 1 03:14:34 EDT 2017


Although it is trivial, I like the idea (except for math.e maybe).
(And it would be cool to be able to also write ∑ = sum, etc.)

--
Ivan


On 1 June 2017 at 08:47, Serhiy Storchaka <storchaka at gmail.com> wrote:

> 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. :-(
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170601/0788cbf3/attachment-0001.html>


More information about the Python-ideas mailing list