def f(*args):
    print(args)

f(*[1]+[2]*3) # -> (1, 2, 2, 2)

def g():
    return [2,3]

f(*[1]+g()) # -> (1, 2, 3)
