demo_ref_set_union.py:
x = {"apple", "banana", "cherry"} y = {"google", "microsoft", "apple"} z = x.union(y) print(z)
C:\Users\My Name>python demo_set_union.py