Asked about Lists, dictionaries and sets

What happens if you use a list as a dictionary key?

An answer that works

It raises a TypeError. Keys must be hashable, which means they cannot change. Lists can change, so they are not hashable. Use a tuple instead.

Reading an answer is not being able to give one. The section that teaches this is Lists, dictionaries and sets, 3 hours of Python.

Learn this properly