Decision Structures and Boolean Logic
Decision Structures and Boolean Logic
Chapter 3
Decision Structures and
Boolean Logic
3-1
Topics
The if Statement
The if-else Statement
Comparing Strings
Nested Decision Structures and the if-
elif-else Statement
Logical Operators
Boolean Variables