Python kosong daftar boolean
list1 = []
bool(list1) # prints False
list2 = [10, 20, 30]
bool(list2) # prints True
patrick204nqh
list1 = []
bool(list1) # prints False
list2 = [10, 20, 30]
bool(list2) # prints True