EasyOutput prediction

Non-empty container is truthy

What does this code print?

checks = [1, "hi", [0], {"k": 0}, (False,)]
count = sum(1 for v in checks if v)
print(count)

← → arrow keys to navigate

Sign in to save your progress.