List can be used as keys in a dictionary.
1 Like
False
Reason — Lists cannot be used as keys in a dictionary because they are mutable. Dictionary keys must be immutable.
Answered By
clear() is used to delete a dictionary.
The key of a dictionary is a mutable data type.
Updating an element in a dictionary at runtime is possible.
We can create immutable dictionaries in Python.