Question #265

Integers are hashable.

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


Comment on Disqus:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: