Suppose I have a series of python function:
lam1 = lambda x: return x+1
lam2 = lambda x: return x+2
lam3 = lambda x: return x+3
And I would like to call them in this way:
x = lam1(x)
x = lam2(x)
x = lam3(x)
or so like this:
for lam in lams:
x = lam(x)
This is helpful if I have a lot of functions to call, but this would have for loop. Do I have other way to do this without for loop?