[Python-ideas] Proposal: Using % sign for percentage

Jonathan Fine jfine2358 at gmail.com
Sat May 4 15:20:16 EDT 2019


Hi Ronie

There's a problem with using % as you suggest. What's the meaning and thus
value of
    >>> 300%+57
At present it's 15. You would have it equal to 60.

You motivation is good, but the solution you've proposed might not work. By
the way, Python does care about readability of numeric constants. It was
recently (?) changed to allow
    >>> billion = 1_000_000_000

I do agree with you, readability counts. Thank you for your contribution.
Perhaps there's a better solution.
-- 
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20190504/0349c6b9/attachment.html>


More information about the Python-ideas mailing list