Comment on PEP-0238
Greg Ewing
greg at cosc.canterbury.ac.nz
Mon Jul 2 21:47:48 EDT 2001
Terry Reedy wrote:
>
> Example: a school has 4
> first grade classrooms and 82 new first graders. If we split the students
> evenly among the classrooms, how many in each? The correct answer is 20
> with 2 left over, not 20.5.
I'd say the correct answer is neither of those -- it's
(21, 21, 20, 20). Leaving the two remaining pupils
uneducated is not an option that I'd expect any
decent school to consider. :-)
--
Greg Ewing, Computer Science Dept, University of Canterbury,
Christchurch, New Zealand
To get my email address, please visit my web page:
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list