def my_func(*args):
    for a in args:
        print(a)
my_func(*[1, 2, 3, 4])
my_list = ['a', 'b', 'c']
my_func(*my_list)
Declaring a python function with an array parameters and passing an array argument to the function call?