Hi All,

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

some other examples for your review.

>>> -10/5
-2
>>> -5/-5
1
>>> 1/2
0
>>> -1/2
-1
>>> -1 /4
-1

I would be thankful to  you if i got through this.


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

Reply via email to