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

Ronie Martinez ronmarti18 at gmail.com
Sat May 4 14:34:27 EDT 2019

Good day!

As Python focuses on readability, why not use % sign for actual percentages?

For example:
rate = 0.1058  # float
rate = 10.58%  # percent, similar to above


It does not interfere with modulo operator as modulo follows a different
a = x % y

This looks like a small feature but it will surely set Python a level
higher in terms of readability.

Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20190505/d88c5347/attachment.html>

More information about the Python-ideas mailing list