Python Func All
# Python2.x Python all() Function
[ Python Built-in Functions](#)
* * *
## Description
The all() function is used to determine whether all elements in the given iterable parameter are TRUE. It returns True if all elements are true, otherwise returns False.
Elements are considered True except for 0, empty, None, and False.
The function is equivalent to:
def all(iterable):
for element in iterable
YouTip