Report Bug

Qus: Suppose d = {“john”:40, “peter”:45}, to delete the entry for “john” what command do we use?

Qusमान लीजिए कि d = {"जॉन": 40, "पीटर": 45}, "जॉन" के लिए एंट्री डिलीट करने के लिए,हम किस कमांड का यूज़ करते हैं?


A. d.delete ( "जॉन": 40)
B. d.delete ( "जॉन")
C. डेल डी ["जॉन"]
D. डेल डी ("जॉन": 40)


Solution
C. del d[“john”]



Explanation
Execute in the shell to verify.
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test , CCC MCQ Python Coding Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Website development Company in Allahabad