On Mon, Aug 13, 2012 at 7:43 PM, Alan Bromborsky <abro...@verizon.net> wrote: > If you have expressions A, B, and C how do you get A/C+B/C to display as > (A+B)/C? In general A1/C+...+An/C to display as (A1+...+An)/C? >
`factor_terms(expr)` >>> e=x+1,2,1/x >>> Add(*[ei/c for ei in e]) (x + 1)/c + 2/c + 1/(c*x) >>> factor_terms(_) (x + 3 + 1/x)/c -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.