How to do set symmetric_difference operation in Python
Set symmetric_difference
The symmetric_difference
method finds the
symmetric difference between two sets.
a = set([1, 2, 3])
b = set([2, 3, 4])
a.symmetric_difference(b)
The symmetric_difference
method finds the
symmetric difference between two sets.
a = set([1, 2, 3])
b = set([2, 3, 4])
a.symmetric_difference(b)