Doesn't PolynomialRing() <http://doc.sagemath.org/html/en/tutorial/tour_polynomial.html#multivariate-polynomials>do what you want? For example,
n=4 V=PolynomialRing(QQ,n+1,['z%d'%(i) for i in range(n+1)] ) V.inject_variables() -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/5f2a2611-3df6-4d8a-9f71-ba5ff3e33ecf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.