Find the difference of two lists in python
If you’re looking for a simple way to match two list in python and determine which items are not in both sets, I found the following works well.
This does the following:
- Convert the list to a set
- Convert back to a list