Question #104

What is the type of the object below?
{"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...)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: