0
print( 1==1 or 2==3) True: Really?
Is this really true statement?
4 Antworten
+ 6
1==1 is true and or operator doesn't care about evaluating other side of it
+ 3
This is true because even though 2 is not equal to 3, 1 is equal to 1 and there is a OR statement, so this is corret.
0
Why not true in your thought?
Edit : !!!
1==1 True, and 2==3 False, so finally True
Truth table for or opearation :
True or True = True
True or False = True
False or True = True
False or False = False
- 2