I tried to look up this question before asking but could not find any satisfactory. so I have 2 list like this
a=[1,2,3,4,4]
b=[1,1,2,3,4]
I tried this:
set(a) - set(b)
but got this
set()
what I want is this
[1,4]
Since set a has 2 4s and set b has 2 1s. What can I do? Thank you!