Home / Engineering / Problem Solving and Python Programming / Question

M

Mr. Dubey • 51.17K Points
Coach

Q.) ,0,4.2)

(A) true
(B) false
(C) error
(D) 0
Correct answer : Option (C) - error

Explanation:
 the function all() returns ‘true’ if any one or more of the elements of the iterable are non zero. in the above case, the values are not iterable, hence an error is thrown.

Share

Discusssion

Login to discuss.