We need to check if all elements of the iterable object evaluate to the truth. What built-in function can you use for this?

Questions & AnswersCategory: PythonWe need to check if all elements of the iterable object evaluate to the truth. What built-in function can you use for this?
Geek Boy Staff asked 2 years ago

We need to check if all elements of the iterable object evaluate to the truth. What built-in function can you use for this?
a. any()
b. all()
c. bool()
d. bin()