Operator Precedence/Boolean Logic

Gregory Ewing greg.ewing at canterbury.ac.nz
Sat Jun 25 19:01:55 EDT 2016


Marko Rauhamaa wrote:

>    The pile originally had -4 coconuts. The first sailor threw one to
>    the monkey, leaving -5 coconuts in the pile. He took his share (-1
>    coconut) out and put the remaining -4 coconuts back in the big pile.

Sounds a bit like Hawking radiation. A coconut-anticoconut
pair is created, and before they can recombine, the monkey
grabs the coconut, leaving the sailor with the anticoconut.

Unfortunately, it's pointless fot the sailor to eat the
anticocounut, as it would ony make him hungrier, and the
coconut is now inside the monkey's event horizon, never to
be seen again.

-- 
Greg



More information about the Python-list mailing list