In this example we will show how to insert the items in one set into another using the update() method in Python.
Source Code
set1 = {'apple', 'banana', 'orange'}
set2 = {'cow', 'sheep', 'pig'}
set1.update(set2)
print(set1)
Output:
{'orange', 'sheep', 'pig', 'cow', 'apple', 'banana'}