Python Programming - Sets - Discussion

Discussion Forum : Sets - General Questions (Q.No. 23)
23.
Which method is used to update a set with elements from another set or iterable?
set.merge(other_set)
set.append(other_set)
set.update(other_set)
set.combine(other_set)
Answer: Option
Explanation:
The update() method is used to update a set with elements from another set or iterable.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.