Boolean beginner topic Python

Boolean beginner topic Python
0

Hey,guys!Could somebody explain why in the second and the third examples on the picture we do replace "or " into plus “+” and get results due to it?Why don`t we replace “or” into + in the first example but condiser it as “or” in meaning of alternative?(The screenshot)Please ,help


The code is like this

False == False or True
True

False == (False or True)
False

(False == False) or True
True

Check the Operator Precedence and Associativity in python you got that points.

Thank you If this help you.