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 #104
{"a": 1, "b": 2, "c": 3}.items()
The method items() returns a view object that displays a list of a given dictionary’s (key, value) tuple pair. The type of this view object is dict_items. (stackoverflow.com/questions/3294889/iterating-over-dictio...)
What is the type of the object below?
— The Python Quiz (@thepythonquiz) July 13, 2020
{"a": 1, "b": 2, "c": 3}.items()
A list of list
A dict_items object
A dictionary#python #python3 #pythonprogramming #learnpython
Question difficulty: 🔵🔵🔵🔵🔵
Similar questions: