0
Operator precedence
I can not understand why this code gives the out put as True, print(False == False or True). I am doing operator precedence in python and I can not understand this at all. Can somebody please explain me how this code has the output as True? Thanks
2 ответов
+ 5
False == False # True
So it's
True or True
If minimum 1 of the the 2 expressions is True, the result will be True
+ 1
Thank you Lisa