Python-Quizzes | Python Dictionary Quiz | Question 19
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



