[sympy] Newbie: display product

2019-07-08 Thread Gary Pajer
I'm sure I'm not the first person having trouble getting started. If there is a good tutorial, more detailed than the sympy docs tutorial, please point me to it! I want to display the product of two expressions. Suppose I have a, b, x, y = symbols('a b x y') ex1 = Eq(a, x + y) ex2 = Eq(b, x *

[sympy] Re: Newbie: display product

2019-07-09 Thread Gary Pajer
Yes. Simple question, for sure. I've tried a lot of things, none has worked yet. For example Enter code here...a, b, x, y = symbols('a b x y') ex1 = Eq(a, x + y) ex2 = Eq(b, x * y) a * b returns $ab$, and efforts to have that rendered as $(x+y)xy$ haven't worked. On Monday, July 8, 2019 at

Re: [sympy] Newbie: display product

2019-07-13 Thread Gary Pajer
'x, y') > a = x + y > b = x * y > print(a * b) > > -- > Oscar > > On Tue, 9 Jul 2019 at 03:11, Gary Pajer > > wrote: > > > > I'm sure I'm not the first person having trouble getting started. If > there is a good tutoria