0
False==false or true
The answer is true how does this work
4 odpowiedzi
+ 4
Hubert Richardo 1or 0 =1
0 or 1=1
0 or 0=0
1or1=1
false==false is true
true or true is true
+ 2
RAJESH SAHU yes. But if you write false as a variable, in any case False or True =True, 0 or 1=1
BUT if the true it is not True and true is variable, then i need its means, couse answer you later:)
AND author don't write about python, my dear teacher :))
+ 1
It's all because of the operators precedence.. because comparison operator(==) is evaluating first and then "or" operator ..
So,
⏺️False==false or true
⏺️False or true
Now, "or" operator returns the first True value so
⏺️False or true
true