Examveda

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()

Answer: Option B


This Question Belongs to Python Program >> Dictionary In Python

Join The Discussion

Related Questions on Dictionary in Python