This function, applied to some iterable, is a predicate that tests whether any of the elements of
that iterable are
True. If any element is not
bool, it is converted to a Boolean
value using the
bool() built-in function.
>>> noneTrue = (0, 0.0, (), None) >>> any(noneTrue) False >>> someTrue = (0, 0.0, (88,), 'penguin') >>> any(someTrue) True