KnowledgeBoat Logo

Computer Science

The keys of a dictionary must be of immutable types.

Python Dictionaries

1 Like

Answer

True

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

Answered By

1 Like


Related Questions