Python 101 - Boolean Operations and None
You will find that you often need to know if something is
False. For example, you might want to know if someone is old enough to create a bank account. If they are, that is usually represented as
True. These values are known as Booleans or
bool for short.
False maps to 0 (zero) and
True maps to 1 (one).
You can easily see this is true u…
Keep reading with a 7-day free trial