Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
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