Python Forum

Full Version: operand evaluation order?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Does Python specify the order of evaluation of the operands for a given operator? For instance in

f() + g()

in Java, we know f() will execute first, whereas in C/C++ we know the evaluation order is not specified.
Thank you. Can't believe I missed that.