I was studying the difference between lists and tuples (in Python). An obvious one is that tuples are immutable (the values cannot be changed after initial assignment), while lists are mutable.
A sentence in the article got me:
Only immutable elements can be used as
dictionary keys, and hence only tuples
and not lists can be used as keys.