0
Operator Precedence
>>> False == False or True True >>> False == (False or True) False >>> (False == False) or True True I've been staring at this for awhile, I don't get it.
1 Answer
0
well, it's working exactly as it should.
in python, comparison operators have a higher precedence than boolean operators, but a lower precedence than the bracket.