Python Programming - Sets - Discussion

Discussion Forum : Sets - General Questions (Q.No. 4)
4.
How can you find the intersection of two sets?
set1.join(set2)
set1 & set2
set1.intersect(set2)
set1.intersection(set2)
Answer: Option
Explanation:
The intersection() method is used to find the common elements between two sets.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.