let setA : Set = ["John", "Bob", "Mary", "Serena"] let setB : Set = ["Jim", "Mary", "John", "Bob"] println(setA.exclusiveOr(setB)) // symmetric difference of A and B println(setA.subtract(setB)) // elements in A that are not in B