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 #938
print(len([None]))
None is an object like any other. The list does contain one element. (w3schools.com/python/ref_func_len.asp#:~:text=The%20len()...)
What is the output of the code snippet below?
— The Python Quiz (@thepythonquiz) August 21, 2021
print(len([None]))
1
0
π Comment the answer, like and retweet! #python
Question difficulty: π΅π΅π΅π΅π΅
Similar questions: