![]() |
| operand evaluation order? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: operand evaluation order? (/thread-12747.html) |
operand evaluation order? - insearchofanswers87 - Sep-10-2018 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. RE: operand evaluation order? - buran - Sep-10-2018 https://docs.python.org/3/reference/expressions.html#evaluation-order read also https://docs.python.org/3/reference/expressions.html#operator-precedence RE: operand evaluation order? - insearchofanswers87 - Sep-26-2018 Thank you. Can't believe I missed that. |