Examveda

If b is a dictionary, what does any(b) do?

A. Returns True if any key of the dictionary is true

B. Returns False if dictionary is empty

C. Returns True if all keys of the dictionary are true

D. Method any() doesn't exist for dictionary

Answer: Option A


This Question Belongs to Python Program >> Dictionary In Python

Join The Discussion

Related Questions on Dictionary in Python