CBSE Class 12 Computer Science
Question 68 of 105
Python Revision Tour II — Question 17
Back to all questionsFor a tuple to be used as a key in a dictionary, all its elements must be immutable as well. If a tuple contains mutable elements, such as lists, sets, or other dictionaries, it cannot be used as a key in a dictionary.