def func(a, b, c, *args):
    for arg in args:
        arg(a, b, c)

def foosim(a, b, c):
    print('foosim %d' % (a + b + c))

def barsim(a, b, c):
    print('barsim %d' % (a * b * c))
Pythonic way to have a choice of 2-3 options as an argument to a function