Open In App

Python-Quizzes | Python Dictionary Quiz | Question 8

Question 8:Find the output of the following program:




dict ={} 
print (all(dict)) 

(A) { }
(B) False
(C) True
(D) An exception is thrown

Answer: (C)
Explanation: The all() method returns:

Quiz of this Question

Article Tags :