When iterating over a dictionary's items, each item is presented as a _______.

  • Key
  • Key-Value Pair
  • Tuple
  • Value
When iterating over a dictionary, each item is presented as a key-value pair (a tuple), where the key represents the dictionary's key, and the value represents the corresponding value associated with that key.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *