"Steve Willoughby" <[EMAIL PROTECTED]> wrote
> normal division x/y works just as expected, with one caveat:
> remember
> that if you divide two *integer* values, you will get an *integer*
> division operation yielding an *integer* result. So:
It's worth pointing out that although beginners te
Dinesh B Vadhia wrote:
> I spent fruitless hours trying to get a (normal) division x/y to work and
> then saw that you have to declare:
normal division x/y works just as expected, with one caveat: remember
that if you divide two *integer* values, you will get an *integer*
division operation yield
I spent fruitless hours trying to get a (normal) division x/y to work and then
saw that you have to declare:
> from __future__ import division
.. at the top of a module file. What is this all about?
Dinesh
___
Tutor maillist - Tutor@python.org
htt