Python is DOOMED! Again!

Chris Angelico rosuav at gmail.com
Sat Jan 24 11:27:40 EST 2015


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? :)

ChrisA



More information about the Python-list mailing list