Python Programming - Sets - Discussion
Discussion Forum : Sets - General Questions (Q.No. 32)
32.
How do you remove a specific element from a set without raising an error if the element is not present?
Answer: Option
Explanation:
The
discard()
method removes a specific element without raising an error if the element is not present.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers