Immutable and Hashable datatypes?

Does Immutable and Hashable datatype mean the same?
If yes then why do we have two different words? If no then How they are different?

Immutable is a subset of Hashable, so not the same thing. Will see if we can find a good article on the subject. BRB


Found a RealPython video…

Immutable vs. Hashable – Real Python

3 Likes