Examveda
Examveda

What does the len() function do when applied to a dictionary?

A. Returns the number of key-value pairs in the dictionary

B. Returns the sum of all values

C. Returns the length of the longest key

D. Returns the length of the longest value

Answer: Option A


This Question Belongs to Python Program >> Dictionary In Python

Join The Discussion

Related Questions on Dictionary in Python