Question #898

What is the output of the code snippet below?
print(any([True * False * False, True * False]))

True * False * False evaluates to False , and True * False evaluates to False too. any([True * False * False, True * False]) will return False . (programiz.com/python-programming/methods/built-in/any)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: