Saved Bookmarks
| 1. |
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» The correct choice is (b) len(d) The explanation: Execute in the shell to verify. |
|