This may be a basic question, but I haven't been able to figure it out.
I have a function that takes in multiple arguments, as kwargs, so I can call it with 1, 2,3 or any amount of arguments. I also have a list whose length is unknown and I want to call the function with each item in the list.
So if I have a list like [1, 2, 3] I want to call the function like f(1,2,3) and if I have [1,2] f(1,2)