Python Programming - Sets - Discussion

Discussion Forum : Sets - General Questions (Q.No. 21)
21.
What does the set.symmetric_difference_update(other_set) method do?
Updates the set with elements from another set.
Removes elements common to both sets.
Returns the symmetric difference between two sets.
Modifies the set with elements unique to each set.
Answer: Option
Explanation:
The symmetric_difference_update() method modifies the set with elements 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.