Tuples can be used as keys in dictionaries because they are _______.

  • Hashable
  • List-like
  • Ordered
  • Unchangeable
Tuples can be used as keys in dictionaries because they are hashable, which means their contents do not change, making them suitable for dictionary keys.
Add your answer
Loading...

Leave a comment

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