Question #201

A list can be a dictionary key.

False! To be a dictionary key, an object has to be hashable, which is not the case for a list. (help.semmle.com/wiki/display/PYTHON/Unhashable+object+hashed)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: