0

How operator precedence works?

I need some help about operator precedence.

16th Dec 2017, 2:51 AM
Fahim Montasir Misbah
Fahim Montasir Misbah - avatar
2 odpowiedzi
+ 8
Refer to table under Operator Precedence, 1.61 https://docs.python.org/3/reference/expressions.html Operators of higher precedence are evaluated first (over operators of lower precedence).
16th Dec 2017, 3:29 AM
Hatsy Rei
Hatsy Rei - avatar
0
Just like in math.
16th Dec 2017, 4:23 AM
Amir Galanty
Amir Galanty - avatar