a) d.size()
b) len(d)
c) size(d)
d) d.len()
Suppose d = {“john”:40, “peter”:45}. To obtain the number of entries in dictionary which command do we use?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Suppose d = {“john”:40, “peter”:45}. To obtain the number of entries in dictionary which command do we use?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!