mySet = {1, 2, 3, 4} mySet2 = {3, 4, 5, 6} mySet.update(mySet2) print(mySet) # Output: # {1, 2, 3, 4, 5, 6}