all, any



examples/functional/all_any.py
a = [True, True]
b = [True, False]
c = [False, False]

print(all(a))   # True
print(all(b))   # False
print(all(c))   # False
print()
print(any(a))   # True
print(any(b))   # True
print(any(c))   # False