Get your own Python server Result Size: 625 x 565
x
 
set1 = {"a", "b", "c"}
set2 = {1, 2, 3}
set3 = {"John", "Elena"}
set4 = {"apple", "bananas", "cherry"}
myset = set1.union(set2, set3, set4)
print(myset)
{apple, 'c', 'a', 1, 2, banana, John, 'b', 3, Elena, cherry}