def func(*args): x = [] # emplty list for i in args: i = i * 2 x.append(i) y = tuple(x) # converting back list into tuple return y tpl = (2,3,4,5) print(func(*tpl))