Report Bug
Qus : Suppose d = {“john”:40, “peter”:45}. To obtain the number of entries in dictionary which command do we use?
Qusमान लीजिए d= {"जॉन": 40, "पीटर": 45}। ड़िक्शनरी में एंट्रीज के नंबर्स प्राप्त करने के लिए हम किस कमांड का यूज़ करते हैं?

A. d.size()
B. len(d)
C. size(d)
D. d.len()


Solution
B. len(d)



Explanation
Execute in the shell to verify.



Report Bug