def repeat(function, params, times):
    for calls in range(times):
        function(*params)

def foo(a, b):
    print('{} are {}'.format(a, b))
repeat(foo, ['roses', 'red'], 4)
repeat(foo, ['violets', 'blue'], 4)
Python, how to pass an argument to a function pointer parameter?