Thetext.find()call comes before the+addition operator because it has a higher precedence. For operators of equal priority, evaluation goes from left to right. In a function call, each argument is a separate expression and these are thus evaluated from left to right. ...
The operator precedence can be seen (for example python) in the docs: https://docs.python.org/3.7/reference/expressions.html go to the very bottom of this document. you can find a table there about this issue. keep in mind that the table shows precedence from the lowest to the highest ...