Back Navigation Next Navigation Video 5: Conditionals (page 4 of 10)

Python also allows multiple conditions in a Boolean expression. Developers may test more complex Boolean expressions by constructing multiple conditions.

Conditionals

With an "or" conditional only one of the conditions needs to evaluate to True for the entire expression to evaluate to True. With an "and" conditional, all of the conditions must evaluate to True for the entire expression to evaluate to True.