Skip to content
RED SAG Skills
mediumStudy question · answer published in Python interview questions, so no pointshash-mappython

Using a list as a dict key in Python

In Python, seen[[r, c]] = True raises TypeError: unhashable type: 'list'. What is the usual fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions