Apply a list of Python functions in order elegantly
Apply a list of Python functions in order elegantly Question: I have an input value val and a list of functions to be applied in the order: funcs = [f1, f2, f3, …, fn] How to apply elegantly and not writing fn( … (f3(f2(f1(val))) … ) and also not using for loop: tmp = val …