Python Multiple Choice Questions
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
Show Answer




DigitalOcean Referral Badge

© 2022-2023 Python Circle   Contact   Sponsor   Archive   Sitemap