code: def items(self):
          
          for word in self._dictionary.keys():
              yield word, self._dictionary[word]
docs: Iterator over the words in the dictionary
  
              Yields:
                  str: The next word in the dictionary
                  int: The number of instances in the dictionary
              Note:
                  This is the same as `dict.items()`