I have two lists that contain many of the same items, including duplicate items. I want to check which items in the first list are not in the second list. For example, I mig
you can try this
list(filter(lambda x:l1.remove(x),li2)) print(l1)