0

print( False == (False or True )). Why is the output of it false?

print(False == False or True) 》True print( False == (False or True )) 》False how? print((False == False) ) 》True why is the output of second statement Flase? Please explain it to me if you know.

3 Answers

New Answer

+8

because false or true is true nd false is not equal to true(==) hence the solution will be false

+1

False or True returns True, because one of them is True. Then False == True returns False, because False is not the same as True.

+1

oh, now i get it. by the way thank you 😃 #Soni and whoever you are. i can't write your name here 😂