PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
Suppose d = {"john":40, "peter":45}. To obtain the number of entries in dictionary which command do we use?
A. d.size()
B. len(d)
C. size(d)
D. d.len()
Show Answer
Next Question
Correct Answer:
B
Explanation: Execute in the shell to verify.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap