The items() method returns a view object. The view object contains the key-value pairs of the dictionary, as tuples in a list.

Details: https://www.w3schools.com/python/ref_dictionary_items.asp