Python is DOOMED! Again!

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sat Jan 24 12:31:03 EST 2015


Chris Angelico wrote:

> On Sun, Jan 25, 2015 at 3:00 AM, Steven D'Aprano
> <steve+comp.lang.python at pearwood.info> wrote:
>> Mark Lawrence wrote:
>>
>>> On 24/01/2015 06:35, Steven D'Aprano wrote:
>>>> Obviously I'm not a fanatic. If I'm working out my share of a $37 meal
>>>> split three ways, I just do 37/3 the same as anyone else :-)
>>>>
>>>
>>> Always rounding down I take it? :)
>>
>> I'm hurt. I have a maths degree, I know how to do division:
>>
>>   _____
>> 3| 37
>>
>>
>> 3 goes into 3 once, and 3 goes into 7 twice with one remainder. So the
>> answer is 12 and 1/3.
> 
> I'm not sure whereabouts you are, but I don't have a $1/3 coin in my
> pocket most of the time. Mark probably doesn't have many £1/3 coins
> either. So... rounding up or down? :)

I'm right here, in front of my computer. Where are you?

Of course we don't have $1/3 dollar coins, but I do have a pair of tin-snips
and can easily cut a $1 coin into three equal pieces.

Either that, or make up change with 20¢, 10¢ and 5¢ (we practice
round-to-nearest-5-cents here).



-- 
Steven




More information about the Python-list mailing list