def f1(x1):
    print('f1 {0}'.format(x1))

def f2(x1, x2):
    print('f2 {0} {1}'.format(x1, x2))
for data in ((f1, 5), (f2, 3, 4)):
    data[0](*data[1:])
How to pass list of function and all its arguments to be executed in another function in python?