πŸ“Š Problem Solving and Python Programming
Q. ,0,4.2)
  • (A) true
  • (B) false
  • (C) error
  • (D) 0
πŸ’¬ Discuss
βœ… Correct Answer: (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.


Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
681
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate