Source: Wolfram Summer School
SymPy has some routines to make formulas more palatable. For instance, it can print sympy.Expr objects (expressions) in LATEX:
The second argument of solve() indicates the set of “output” variables. Indeed, we have three equations for twelve variables. Each equation can be used to express one variable as function of the others. Thus, we can pick three variables and express them as functions of the remaining nine.