Unit 6 · Lesson 1
Build the idea
Start with the concept and its key vocabulary.
A condition is a Boolean expression: its result is true or false. Use ==, !=, <, >, <= and >= to compare values. Combine comparisons with AND when both must hold, OR when either may hold, and NOT when a result needs reversing. ERL writes these Boolean operators in uppercase; Python uses lowercase.
A data type with exactly two possible values: true or false.
An expression that evaluates to either true or false.
An operator such as == or >= that compares two values and produces a Boolean result.
A Boolean operator that is true only when both conditions are true.
A Boolean operator that is true when either condition, or both conditions, are true.
A Boolean operator that reverses true and false.