6.5.3: be able to write programs that use logical operators (AND, OR, NOT)
Keyword | Definition |
---|---|
and | logical operator with two inputs which only evaluates to True if both inputs are True |
boolean expression | question which has an answer of either True or False |
logical operator | symbol or character which can combine boolean expressions or values using AND, OR or NOT |
not | logical operator which inverts a single boolean input from True to False or vice versa |
or | logical operator with two inputs which evaluates to True if either or both inputs are True |