Report Bug

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

Qusयदि b एक डिक्शनरी है, तो कोई भी (b) क्या करता है?


A. यदि डिक्शनरी की कोई भी key सही है, तो रिटर्न
B. यदि डिक्शनरी खाली है तो गलत है
C. यदि डिक्शनरी की सभी keys सही हैं, तो सही
D. मैथड किसी भी () शब्दकोश के लिए मौजूद नहीं है


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



Explanation
Method any() returns True if any key of the dictionary is true and False if the dictionary is empty.
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test , CCC MCQ Python Coding Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Website development Company in Allahabad