[Edu-sig] Strange results

Andrzej Kapanowski ufkapano at gmail.com
Tue Jan 3 11:23:14 CET 2012


Hello!

My friend noticed strange results from Python 2.5.2:

>>> b=47
>>> 0-b/2
-23
>>> -b/2+0
-24

Anybody can explain that?

Regards,
Andrzej Kapanowski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/edu-sig/attachments/20120103/0af9694d/attachment.html>


More information about the Edu-sig mailing list