SUBJEK is list of lists, so it's not hashable. That is exactly what the error says...
>>> my_list = [[1,2], [3,4]] >>> set(my_list) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: unhashable type: 'list'I don't see the point of adding set(SUBJEK). i.e. kata is str, elements in SUBJEK are of type list
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs