Thanks to Python’s function definition facilities, you can collect your arguments as a list and use them as such in your function definition :
>>> from sympy import symbols
>>> X=symbols("x:5") ; X
(x0, x1, x2, x3, x4)
>>> def foo(*u): return "I got %d arguments."%len(u)
...
>>> foo(X) # Call foo with the single argument X
'I got 1 arguments.'
>>> foo(*X) # Call fo with the LIST of arguments (x0,...,x4)
'I got 5 arguments.'
You can also have fixed arguments before the list argument :
>>> def bar(u, *v): return "u=%s, v=%s"%(u, v)
...
>>> bar(*X)
'u=x0, v=(x1, x2, x3, x4)'
HTH,