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