On Sun, 30 Sep 2007 20:10:05 -0700, Andres Riofrio wrote:
[snip]
>>From what I've read, seems that the principal reason for rejecting the
> PEP is that there was not much need (enthusiasm)... Well, then I have a
> question: Is there a way to make 5/2 return something other than an
> integer? I can
Andres Riofrio a écrit :
> Well, then I have
> a question: Is there a way to make 5/2 return something other than an
> integer?
>>> from __future__ import division
>>> 5/2
2.5
--
http://mail.python.org/mailman/listinfo/python-list
En Mon, 01 Oct 2007 00:10:05 -0300, Andres Riofrio
<[EMAIL PROTECTED]> escribi�:
> From what I've read, seems that the principal reason for rejecting the
> PEP is that there was not much need (enthusiasm)... Well, then I have
> a question: Is there a way to make 5/2 return something other than a
PS: Sorry, George Sakkis, for the double emailing... I forgot to add
python-list in the To: field the first time. :)
Haha. Ok. Thank you for pointing me to those links :). I hadn't
thought of searching for the word 'rational' instead of 'decimal'...
>From what I've read, seems that the principal