On 07.09.12 15:53, Ramyasri Dodla wrote:
> I am brand new to python. checking over basic stuff. I came across the 
> problem while doing so. If any body aware of the problem, kindly respond me.
> 
>  >>> 5/10
> 0
>  >>> - 5/10
> -1
> 
> The second case also should yield a 'zero' but it is giving a -1

http://python-history.blogspot.com/2010/08/why-pythons-integer-division-floors.html


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to