Computer Science, asked by gulshankumarvarma97, 5 months ago

Why can’t Lists can be used as keys? ​

Answers

Answered by suzu71
2

Explanation:

You cannot use a list as a key because a list is mutable. Similarly, you cannot use a tuple as a key if any of its elements are lists. (You can only use a tuple as a key if all of its elements are immutable.)...

Similar questions