Chapter 10: Problem 11
What does the items method return?
Short Answer
Expert verified
Answer: The items() method returns a view object displaying a list of the dictionary's key-value pairs as tuples. This makes it easy to iterate over the dictionary and access each key and its corresponding value.