Informatics Practices
List can be used as keys in a dictionary.
Python Dictionaries
1 Like
Answer
False
Reason — Lists cannot be used as keys in a dictionary because they are mutable. Dictionary keys must be immutable.
Answered By
3 Likes
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
3 Likes