# unlimited arguments def func(*args, **kwargs): print(args, kwargs) func(1,2,3,4, k=0, x=8, hey=10) # print (1, 2, 3, 4) {'k': 0, 'x': 8, 'hey': 10}