s1 = {'Python', 'Java'}
s2 = {'C#', 'Java'}
s = s1.union(s2)
print(s)
firstSet = {2, 3, 4, 5}
secondSet = {1, 3, 5, 7}
print(firstSet | secondSet)
# {1, 2, 3, 4, 5, 7}
#Combine two sets on python: 2nd way.(Union)
set_A= {"Apple", "Orange", "coconut"}
set_B= {"Green","Blue", "Yellow"}
set_C= set_A.union(set_B)
for x in set_C:
print(x )