def func(x, y, z): graphVars = [x, y, z] return getFunction(LHStok, RHStok, variables, graphVars, 3) return graphVars, func