this is the code that can insert an equal between two objects:
import sympy as sp
from sympy import pprint
y =sp.Symbol('y')
x=sp.Eq((((y**2+2)*(y**3))/5)+3,3*(y**2))
pprint(x,use_unicode=True)
it's the result:
3 ⎛ 2 ⎞
y ⋅⎝y + 2⎠ 2
─────────── + 3 = 3⋅y
5
but if i wanna add another equal using another sp.Eq like this:
import sympy as sp
from sympy import pprint
y =sp.Symbol('y')
x=sp.Eq(sp.Eq((((y**2+2)*(y**3))/5)+3,3*(y**2)),0)
pprint(x,use_unicode=True)
the result is:
False