Page 1 of 1

Suppose d = {“john”:40, “peter”:45}. To obtain the number of entries in dictionary which command do we use?

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
a) d.size()
b) len(d)
c) size(d)
d) d.len()