Though tuples are immutable type, yet they cannot always be used as keys in a dictionary. what is the condition to use tuples as a key in a dictionary?

tuples can be used as key in a dictionary only when it contains immutable type elements.

error: Content is protected !!