Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

any(iterable)

def any(iterable):
    for element in iterable:
        if element:
            return True
    return False
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
5+6 =