Programs need to make choices: show the next level only if the player won, charge postage only if the order is small. Choices are built from questions whose answer is True or False. These two values are called booleans.
Comparisons give booleans: == (is equal to; two signs, because one = stores a value), != (is not equal), <, >, <= and >=. You can join questions with and (both must be true), or (at least one) and not (flips it).
age = 15
print(age >= 13)
print(age >= 13 and age < 18)
print(age == 16)
Prints
True
True
False
if runs a block of code only when its condition is true. The block is the indented lines under it: Python uses the indentation (usually four spaces) to see where the block ends, so it matters. else catches everything else, and elif ("else if") adds more checks in between. Python tries them from the top and runs only the first one that's true.