Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to append to a symbolic expression in a loop?

This must be super basic, but i don't get how to do the classic

for i in list:
    expression = expression + i

symbolically. I want to add new terms to the expression, and the "==" notation does not mash well with that.

An .append() method would make sense, but i was not able to find one.