+ 1
False or True
why >>>False or True True ?? itâs my only question on this topic
2 Answers
+ 6
because if you apply the logic operator "or" it gives true if any of both or both statements are true
In general:
1 1 -> 1
1 0 -> 1
0 1 -> 1
0 0 -> 0
where 1 is True and 0 is False
+ 1
From the 3 arrows (>>>) I think you used the Python interactive interpreter. The OR operation returns true if 1st, 2nd or both booleans are true. False or True, the 2nd boolean is true so it will return true.