arr = [[a],[b]]
set(arr)
output:
Traceback (most recent call last): File "<stdin>", line 1, in <module>TypeError: unhashable type: 'list'
arr =[1,2]
output:
set([1,2])