vérité falsie python
# use bool() method to find the truthy/falsy value of different objects
# Ex:
# truthy/falsy lists
l = []
print(bool(l))
l = [1]
print(bool(l))
# truthy/falsy integers
n = 0
print(bool(n))
n = 1
print(bool(n))
# truthy/falsy strings
s = ""
print(bool(s))
s = "a"
print(bool(s))
# and so on...
Successful Skylark