0

Explain operator precedence?

print(False == False or True) print(False == (False or True)) print((False == False) or True)

13th May 2018, 2:29 PM
Srikar Vedula
Srikar Vedula - avatar
2 odpowiedzi
+ 5
https://docs.python.org/3/reference/expressions.html#operator-precedence You should read the docs more often.
13th May 2018, 3:13 PM
Dev
Dev - avatar