Lessons
True, False and comparisons
Ask yes/no questions about values with comparison operators.
8 min
if and else
Run code only when a condition is true, and choose between two paths.
10 min
elif: more than two choices
Chain several conditions with elif; the first true one wins.
9 min
and, or, not
Combine conditions with logical operators.
9 min
Truthy values and nested ifs
Use any value as a condition, nest decisions and write one-line if expressions.
10 min
Next module
Loops