3
Question Question 3
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 ?
The tuple should contain only immutable entries. Only then it can be used as a key in a dictionary.