Python Programming - Dictionaries - Discussion
Discussion Forum : Dictionaries - General Questions (Q.No. 36)
36.
What does the
dictionary.pop(key, None)
method do?
Answer: Option
Explanation:
The
pop()
method with a default value of None
removes a key-value pair from a dictionary without raising an error if the key 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