# The difference() function can be used to create a new set containing the difference # from one set with another mySet = {1, 2, 3, 4} mySet2 = {3, 4, 5, 6} mySet3 = mySet.difference(mySet2) print(mySet3) # Output: # {1, 2}