Python Programming - Sets - Discussion

Discussion Forum : Sets - General Questions (Q.No. 43)
43.
How do you find the elements that are unique to each set?
set.symmetric_difference(other_set)
set.difference(other_set)
set.unique_elements(other_set)
set.unique_difference(other_set)
Answer: Option
Explanation:
The symmetric_difference() method returns elements that are unique to each set.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.