First time here? Check out the FAQ!
answered 2019-04-27 22:31:18 +0100
Could you clarify your question? The following code works
sage: expression = SR.zero() sage: for i in [SR.var('x'), SR.var('y'), SR.var('z')]: ....: expression = expression + i sage: expression x + y + z