I have a defaultdict of list like this
{'A':[1,2,3,3,2],'B':[1,2,3,3,2]}
Need to remove duplicates in the values only. The dict should be like
{'A':[1,2,3],'B':[1,2,3]}
Tried
dict((k, tuple(v)) for k, v in list_of_value.items())
Not helping much.