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.
12/17/2016 4:22:42 PM
because false or true is true
nd false is not equal to true(==)
hence the solution will be false
False or True returns True, because one of them is True.
Then False == True returns False, because False is not the same as True.
oh, now i get it.
by the way thank you 😃 #Soni and whoever you are. i can't write your name here 😂
Learn Playing. Play Learning
Send us a message