(obj, ops, op)
return res
Apply the list of operators ``ops`` to object ``obj``, substituting
    ``op`` for the generator.
Apply the list of operators ``ops`` to object ``obj``, substituting
    ``op`` for the generator.
Apply the list of operators ops to object obj substituting op for the generator .
def apply_operators(obj, ops, op):
    """
    Apply the list of operators ``ops`` to object ``obj``, substituting
    ``op`` for the generator.
    """
    res = obj
    for o in reversed(ops):
        res = o.apply(res, op)
    return res
def apply_operators ( obj , ops , op ) : res = obj for o in reversed ( ops ) : res = o . apply ( res , op ) return res