← BYTES
Python·Starter·Ref: 6.1.4
What does the `len()` function return for a dictionary?
Have a question about this video? Mention reference 6.1.4 when you contact us.
a.The number of key-value pairs
b.The sum of all values
c.The number of keys with non-null values only
d.It always errors on dicts
len() on a dict returns the count of key-value pairs it currently holds.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES614#Python