With the Boolean OR operator, you can connect two Boolean expressions into one compound expression. At least one subexpressions must be true for the compound expression to be considered true, and it doesn’t matter which. If both subexpressions are false, then the expression is false.

This is the general logic behind the OR operator. However, the Python or operator does all this and more, as you’ll see in the following sections.