SymPy – Is there a way to write a summation, that has a variable with an incrementing subscript?
SymPy – Is there a way to write a summation, that has a variable with an incrementing subscript? Question: I wanted to write this expression, in code: x1 + x2 + x3 + x4 + x5 I can currently do this via: import sympy as sp x1, x2, x3, x4, x5 = sp.symbols(‘x1 x2 x3 …