if statements
The if statement evaluates an expression to either True or False.
If the expression evaluates to True, then the code in the if statement will be executed.
Using the equality (=) operators:
Using the inequality (!=) operators:
Using and/or operators:
Checking if a value is in a list:
Checking if a value is not in a list:
Checking if a list is empty: