False == (False or True) | SoloLearn: Learn to code for FREE!


False == (False or True)

I am not sure what does this statement mean? anyone can explain it, I really appreciate your help.

10/14/2017 8:00:58 PM

Norman Chen

4 Answers

New Answer


Im not familiar with Python, but I think it returns false because (False or True) is True and False is not equal to True, so False == True is false. This is because the OR-Operator returns True if at least one expression is True.


False == (False or True) No output. This operator (==) means "If was True" Example: 2 == 3 False Reading.. If was True that 2 is equal 3 ... ~~In your sentence ~~ False == (True or False) If was True that False is equal True or If was True that False is equal False than..) Let's read carefully. The "Or" condition means one or other. But we need remember that Python are criticizing a sentence. It will criticize the value (True or False) of the sentece. Than.. Reading the first condition If False = False ( This sentence is True) If False = True ( This sentence is False) If one of this two was true, than Python will print True. Let's try: print ( False == False or True) >>> True Have I helped you ?


Frist (False or True)= True Than False == True is False


No, I think his problem is because the original sentence haven't output. But he needs use "print" in Pyhton's SoloLearn. print (False == False or True) output (valid): True