Decision making based on conditions
> greater than
< less than
>= greater than or equal to
<= less than or equal to
== equality
!= inequality
Checks for only one condition
Checks Condition
True/False
Executes Statement
True
False
Checks for two conditions
Checks Condition
True/False
Statement 2
False
True
Statement 1
Checks for more than two conditions
Checks Condition
True/False
Statement 2
False
True
Statement 1
Next Condition
True/False
True
Statement 3
False
if-elif-else chain