Python Programming - Data Types - Discussion

Discussion Forum : Data Types - General Questions (Q.No. 63)
63.
What is the purpose of the any() function?
Checks if any element in an iterable is False
Checks if any element in an iterable is True
Checks if any element in an iterable is None
Checks if a variable is of a certain type
Answer: Option
Explanation:
The any() function returns True if at least one element in the iterable is True, otherwise False.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.