Skip to content
Related Articles

Related Articles

Improve Article
Python-Quizzes | Python Dictionary Quiz | Question 19
  • Last Updated : 17 Sep, 2020

Question 19:Find the output of the following program:




dictionary ={1:"geek", 2:"for", 3:"geeks"
del dictionary 

(A) del deletes the entire dictionary
(B) del doesn’t exist for the dictionary
(C) del deletes the keys in the dictionary
(D) del deletes the values in the dictionary


Answer: (A)

Explanation: del deletes the entire dictionary and any further attempt to access it will throw an error.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :