Question #899

What is the output of the code snippet below?
print(any({"1": False, "2": False}))

When used with dictionaries, any() looks at the keys, not the values. (stackoverflow.com/questions/12376079/check-if-any-value-o...)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵