使用动态参数:

l = [1, 1, 3, 4, 5]


def f(*args):
    return args
x = f(*l)
print(x)