Booleans
A boolean (bool) has only two possible values: True and False. A comparison like 5 > 3 gives a boolean.
You combine booleans with and (true if both are true), or (true if at least one is true) and not (flips the value). bool() converts a value: 0, an empty string "" and an empty list give False; almost everything else gives True.
is_raining = True
has_umbrella = False
print(is_raining and has_umbrella)
print(is_raining or has_umbrella)
print(not is_raining)
print(5 > 3)
print(bool(0), bool("hi"))