Symmetric difference

FCC link

Given two sets A and B, compute $(A \setminus B) \cup (B \setminus A).$ That is, enumerate the items that are in A or B but not both. This set is called the symmetric difference of A and B. In other words: $(A \cup B) \setminus (A \cap B)$ (the set of items that are in at least one of A or B minus the set of items that are in both A and B).

Test

{{test}}

Console output