Question #267

Strings are hashable.

Strings implement a __hash()__ method, hence are hashable. (docs.python.org/3/reference/datamodel.html#object.__hash__)


Comment on Disqus:

Question difficulty: πŸ”΅πŸ”΅πŸ”΅πŸ”΅πŸ”΅


Similar questions: