convert solved equation to set sympy code example Example: sympy solve equation system sol = solve((eq1, eq2),(x, y)) sol