List symmetric difference
Returns the symmetric difference between two iterables, without filtering out duplicate values.
- Create a
set
from each list. - Use a list comprehension on each of them to only keep values not contained in the previously created set of the other.