any(iterable)

Returns test


iterable??

REMARKS
* No prefix required - Core
* Return True if any element of the iterable is true.
* If the iterable is empty, return False.

def any(iterable): 
    for element in iterable:
        if element:
            return True
    return False

© 2025 Better Solutions Limited. All Rights Reserved. © 2025 Better Solutions Limited Top