In [1]:
mutable = ["element", 1]
In [3]:
hash(mutable)
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[3], line 1 ----> 1 hash(mutable) TypeError: unhashable type: 'list'
In [2]:
mutable[1] = 2