The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
Question #898
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)
What is the output of the code snippet below?
— The Python Quiz (@thepythonquiz) July 26, 2021
print(any([True * False * False, True * False]))
False
True
π Comment the answer, like and retweet! #python
Question difficulty: π΅π΅π΅π΅π΅
Similar questions: