Re: Division help in python

2012-09-08 Thread Hans Mulder
On 8/09/12 09:03:12, garabik-news-2005...@kassiopeia.juls.savba.sk wrote: > Chris Angelico wrote: >> On Fri, Sep 7, 2012 at 10:53 PM, 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, kind

Re: Division help in python

2012-09-08 Thread garabik-news-2005-05
Chris Angelico wrote: > On Fri, Sep 7, 2012 at 10:53 PM, 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

Re: Division help in python

2012-09-07 Thread Serhiy Storchaka
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

Re: Division help in python

2012-09-07 Thread Jean-Michel Pichavant
Ramyasri Dodla wrote: 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 Why should it yield '

Re: Division help in python

2012-09-07 Thread Chris Angelico
On Fri, Sep 7, 2012 at 10:53 PM, 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 g