Python Programming - Dictionaries - Discussion
Discussion Forum : Dictionaries - General Questions (Q.No. 20)
20.
What does the
dictionary.pop(key, default_value)
method do?
Answer: Option
Explanation:
The
pop()
method returns the value for the key or the default value if the key is not present and removes the key from the dictionary.
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