Source Code:
(back to article)
A = {1, 2, 3} B = {2, 3, 4} print(A.symmetric_difference(B))
Result:
Report an issue