| 1 | initial version |
You have to "remove the brackets" of your list, so that the input of function is not a single list of four symbols, but four symbols (note the star before vars):
sage: f=function('f')(*vars)
sage: f
f(x, y, z, t)
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.