Computer Science
A tuple can be used as the key in a dictionary if it contains immutable elements.
Python Tuples
1 Like
Answer
True
Reason — A tuple can be used as a key in a dictionary if all the elements within the tuple are immutable. This is because dictionary keys must be unique and immutable.
Answered By
3 Likes