def foo(x): return x + 1 def bar(x): return x - 1 funcs = (foo, bar) for func in funcs: print(func(3))