ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
Programming and Problem Solving through Python
: Sequence data types in python
यदि b एक डिक्शनरी है, तो कोई भी (b) क्या करता है? , If b is a dictionary, what does any(b) do?
If b is a dictionary, what does any(b) do?
A.
Returns True if any key of the dictionary is true
यदि डिक्शनरी की कोई भी key सही है, तो रिटर्न
B.
Returns False if dictionary is empty
यदि डिक्शनरी खाली है तो गलत है
C.
Returns True if all keys of the dictionary are true
यदि डिक्शनरी की सभी keys सही हैं, तो सही
D.
Method any() doesn’t exist for dictionary
मैथड किसी भी () शब्दकोश के लिए मौजूद नहीं है
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.
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Exam Quiz
Website development Company in Allahabad