Closed DimitriPapadopoulos closed 2 years ago
The simplified code is the very definition of built-in function any:
any
def any(iterable): for element in iterable: if element: return True return False
Thanks! Sorry for the delay in seeing this (I think I need to adjust my GH notification settings)
The simplified code is the very definition of built-in function
any
: