# Revision history [back]

You expect ex.operands() to give the sum terms, which works because they are mostly sums, but the first expression is a fraction. I don't think there is a function that always gives you sum terms, you would have to write one.

Also, since operands() expects an expression you must convert the Python 1 via SR. Expecting everything having a symbolic meaning will not work with Sage.

You expect ex.operands() to give the sum terms, which works because they are mostly sums, but the first expression is a fraction. I don't think there is a function that always gives you sum terms, you would have to write one.

Also, since operands() expects an expression you must convert the Python 1 via SR. Expecting Treating everything having to have a symbolic meaning will not work with Sage.

You expect ex.operands() to give the sum terms, which works because they are mostly sums, but the first expression is a fraction. fraction (1/(1-x) = Sum(x^j,0,inf)). I don't think there is a function that always gives you sum terms, you would have to write one.

Also, since operands() expects an expression you must convert the Python 1 via SR. Treating everything to have a symbolic meaning will not work with Sage.