Computer Science · Python Dictionaries
If D is a Python dictionary declared as: D = {'A': 1, 'B': 2, 'C': 3} Which of the following commands will remove the entire dictionary object from memory?
- 1D.remove()
- 2D.clear()
- 3D.del()
- 4del D✓
Correct answer
del D
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Python Dictionaries?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Python Dictionaries