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 #895
print(any([]))
any() returns False when the given iterable is empty. (docs.python.org/fr/3.7/library/functions.html?highlight=r...)
What is the output of the code snippet below?
— The Python Quiz (@thepythonquiz) August 2, 2021
print(any([]))
False
True
π Comment the answer, like and retweet! #python
Question difficulty: π΅π΅π΅π΅π΅