+ 1
why false ==false or true is true can someone explains to me please đ
3 Answers
+ 8
when there is an OR, provided anything is True, the whole statement is true.
To be specific to your question False == False, that is True. Then we will be talking of True OR True giving us True.
Summary
True OR True = True
True OR False = True
False OR True = True
False OR False = False
True AND True = True
True AND False = False
False AND True = False
False AND False = False
you can now study about Exclusive OR (XOR).
I hope that helped.
+ 5
because the first operator in this case is not the first one that you see. So its not == , but is OR. think of it like: false == (false OR true)
0
thanks guys its helped