We need to check if at least one element of the iterable object evaluates to the truth. What built-in function can you use for this?
Questions & Answers › Category: Python › We need to check if at least one element of the iterable object evaluates to the truth. What built-in function can you use for this?
We need to check if at least one element of the iterable object evaluates to the truth. What built-in function can you use for this?
a. all()
b. any()
c. bool()
d. type()