def reversed_cull_list(lst, pred):
    for i in range(len(lst) - 1, -1, -1):
        if not pred(lst[i]):
            del lst[i]
what is a quick way to delete all elements from a list that do not satisfy a constraint?