Hello i have 3 functions f1(), f2() and f3(). The output of the previous is the input of the next. meaning output = f3(f2(f1(data))).
instead of writing
def outp(data):
o1 = f1(data)
o2= f2(o1)
o3 = f3(02)
return o3
output=outp(data)
is there a way to this by simply providing a list of functions to some other general function and let it handle the chaining together?