Search
The .union() method can be used to combine two sets. The difference between .update() and .union() is that .union() returns a combined set while .update() will update the first set with the values of the second.
.union()
.update()