[Python-ideas] Python Numbers as Human Concept Decimal System
Chris Angelico
rosuav at gmail.com
Fri Mar 7 01:45:33 CET 2014
On Fri, Mar 7, 2014 at 11:32 AM, MRAB <python at mrabarnett.plus.com> wrote:
> I think it would be confusing if there were "f" for "float" and "F" for
> "fraction". How about "r" for "rationals"?
Since the string prefixes are all case insensitive, I'd be very much
surprised if f and F did different things.
> <pedantic>Python doesn't have a syntax for creating complex numbers; it
> has a syntax for creating imaginary numbers.</pedantic>
<pedantic>
>>> type(1j)
<class 'complex'>
</pedantic>
ChrisA
More information about the Python-ideas
mailing list