def remove_if(predicate, lst):
 return [elem for elem in lst if (not predicate(elem))]

def remove_if ( predicate , lst ) : return [ elem for elem in lst if ( not predicate ( elem ) ) ]
returns a new list with elements of the iterable lst excepting those satisfying predicate .