- 2
Did not understand the example given
help
5 Réponses
+ 3
Basically, you're just determining if both sides is true or not.
False == False or True
**False == False is true because false does equal false. So both sides is true.
False == (False or True)
** This is saying that False is equal to either false or true. If it equals true, then the statement is false because false isn't true, it's false. That's why this one is false instead of true. Logic.
(False == False) or True
** False == False is true, OR true. Both sides are true, so this one is true.
+ 2
What was the example given?
+ 2
tq nectos I understood thids clearly
+ 2
tq netkos
+ 1
>>> False == False or True
True
>>> False == (False or True)
False
>>> (False == False) or True
True