Source Code:
(back to article)
set1 = {1, 2, 3} set2 = {3, 4, 5} set3 = set1.union(set2) print(set3)
Result:
Report an issue