If B Is A Dictionary What Does Anyb Do #594
If b is a dictionary, what does any(b) do?
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Dictionary - Python Dictionary - Quiz No.5.
If b is a dictionary, what does any(b) do?
Returns True if any key of the dictionary is true
Returns False if any key of the dictionary is false
Returns True if all keys of the dictionary are true
Method any() doesn’t exist for dictionary