# 0, "", [], {}, None are all falsy for value in [0, "", [1], "hi", None]: print(bool(value))
empty things are falsy