# Better way to call a chain of functions in python?
out = initial_input
for func in [function1, function2, function3, function4]:
    out = func(out)

d23bba7321791036d598e637c8dc787d18f91dfe
<mask token>

<mask token>
for func in [function1, function2, function3, function4]:
    out = func(out)

out = initial_input
for func in [function1, function2, function3, function4]:
    out = func(out)

# Better way to call a chain of functions in python?
out = initial_input
for func in [function1, function2, function3, function4]:
    out = func(out)
