Please improve these comprehensions (was meaning of [ ])

Marko Rauhamaa marko at pacujo.net
Thu Sep 7 03:59:38 EDT 2017


Dennis Lee Bieber <wlfraed at ix.netcom.com>:

> On Wed, 06 Sep 2017 10:37:42 +0300, Marko Rauhamaa <marko at pacujo.net>
> declaimed the following:
>
>>
>>Which reminds me of this puzzle I saw a couple of days ago:
>>
>>   1 + 4 = 5
>>   2 + 5 = 12
>>   3 + 6 = 21
>>   8 + 11 = ?
>>
>>A mathematician immediately comes up with a "wrong" answer.
>>
>
> 	I'm coming up with "96", on the basis that the "+" is a
> placeholder for a non-standard operation

That's a mathematician's "wrong" answer. Stefan Ram's answer is the
intended one.


Marko



More information about the Python-list mailing list