Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28702 > unrolled thread
| Started by | Serhiy Storchaka <storchaka@gmail.com> |
|---|---|
| First post | 2012-09-07 21:17 +0300 |
| Last post | 2012-09-07 21:17 +0300 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Division help in python Serhiy Storchaka <storchaka@gmail.com> - 2012-09-07 21:17 +0300
| From | Serhiy Storchaka <storchaka@gmail.com> |
|---|---|
| Date | 2012-09-07 21:17 +0300 |
| Subject | Re: Division help in python |
| Message-ID | <mailman.365.1347041889.27098.python-list@python.org> |
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
Back to top | Article view | comp.lang.python
csiph-web