# The symmetric_difference() function can be used to create a new set containing
# the symmetric differences of two sets.
mySet = {1, 2, 3, 4}
mySet2 = {3, 4, 5, 6}
mySet3 = mySet.symmetric_difference(mySet2)
print(mySet3)
# Output:
# {1, 2, 5, 6}
firstSet = {2, 3, 4, 5}
secondSet = {1, 3, 5, 7}
print(firstSet ^ secondSet)
# {1, 2, 4, 7}