Python Programming - Sets - Discussion

Discussion Forum : Sets - General Questions (Q.No. 30)
30.
What is the purpose of the set.add(element) method?
Adds an element to the end of the set.
Adds an element to the specified index in the set.
Adds an element to the beginning of the set.
Adds an element to the set.
Answer: Option
Explanation:
The add() method is used to add an element to the set.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.