How about adding rational fraction to Python?

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Tue Feb 26 22:47:36 CET 2008


On Tue, 26 Feb 2008 11:43:56 -0500, D'Arcy J.M. Cain wrote:

> Integer division means integer result to me in a very real sense.

So, when you have five children over for a birthday party, and one cake, 
do you say "Sorry kids, no cake for you: one cake divided by five is 
zero"?

Of course you do, you big meanie. I think you catered for my 12th 
birthday party.



-- 
Steven



More information about the Python-list mailing list