1.

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» Right choice is (a) Returns True if any key of the dictionary is true

The explanation is: Method any() returns True if any key of the dictionary is true and False if the dictionary is empty.


Discussion

No Comment Found