Truth Table for Python OR Operator
Expression 1 | Expression 2 | Result |
---|---|---|
True | True | True |
True | False | True |
False | True | True |
False | False | False |
Python OR Operator
Python OR Operator takes at least two boolean expressions and returns True if any one of the expressions is True. If all the expressions are False then it returns False.