0

Why is print(False == (False or True)) true but print(False == False or True) is false

I'm having trouble with this one has parentheses around true and false and the other one doesn't why do they have different answers

20th Aug 2017, 7:16 PM
Keanu Big Eagle
4 Answers
+ 1
thanks!
20th Aug 2017, 7:33 PM
Keanu Big Eagle
+ 1
any time @Keanu
20th Aug 2017, 8:11 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
0
Simple .. Let me explain 0 == (0 or 1) > 0 == 1 ? False 0 == 0 or 1 > anything or 1? True when thinking False is 0 and True is 1 it became more simple
20th Aug 2017, 7:28 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
0
i cannot understand this 0 == (0 or 1) > 0 == 1
27th Oct 2017, 4:14 AM
azeez
azeez - avatar