Truthy and falsy values in Python
Python treats certain values as false in conditionals, including `False`, `None`, zero values, and empty containers.
- Empty collections are falsy
- Most objects are truthy by default
- Truthiness powers concise condition checks
Truthy and falsy values in Python