CBSE Class 12 Computer Science Question 45 of 105

Python Revision Tour II — Question 6

Back to all questions
6
Question

Question 6

The keys of a dictionary must be of immutable types.

Answer

True

Reason — Dictionaries are indexed by keys. Hence its keys must be of any non-mutable type.