symbols xyz solve Eq Eq x-5 Eq x-y 109 31 -63

1
2
3
>>> x, y, z= symbols('xyz')
>>> solve([Eq(5*x+2*y+9*z, 8), Eq(2*x-5*y+z, 0),Eq(x-y+z, 3)], [x,y,z])
{x: 109/5, y: 31/5, z: -63/5}