A small quiz question

Marko Rauhamaa marko at pacujo.net
Thu Aug 17 01:29:47 EDT 2017


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

> 	I suppose, the two in combination imply that the calls to "f()"
> occur first in left to right, but then the "**" are applied to the
> returned values right to left -- rather than having the calls
> performed in the exponentiation order.

Yes, and parentheses, operator precedence or expressions as arguments to
functions don't affect the evaluation order.


Marko



More information about the Python-list mailing list