?
What is the output of the following code:
What is the output of the following code:
set1 = {1, 2, 3}
set2 = {3, 4, 5}
print(set1.union(set2))
set2 = {3, 4, 5}
print(set1.union(set2))
Join the Discussion
Login to post a comment or share your explanation.
Login