Exercise: Many validator functions


Given several validator functions (that get a parameter and return True or False), and given a list of values, return a sublist of values that pass all the validation checks. See the sekeleton:


examples/functional/many_validators_skeleton.py
def is_big(x):
    return x > 100

def is_even(x):
    return not x % 2

numbers = [90, 102, 101, 104]

cond = [is_big, is_even]

# z = ...
print(z) # [102, 104]