Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+3 votes

I keep getting " TypeError: unhashable type: 'list' " error every time I attempt to make my 2d list into a set. What should I do?

asked in CSC201 Spring 2021 by (2.6k points)
0

You could have a set of tuples, but you can't have a set of lists.

Question: what's the context? What are you trying to do that a list of lists won't work for?

0

I figured out the problem, I figured out another way to do it. Thank you

Please log in or register to answer this question.

...