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