3 ms·
I'm with cosmic_ape regarding the recommendation for SymPy. Write the two lines as symbolic expressions `expr1` and `expr2` then run `simplify(expr1-expr2)` to
by ivan_ah 9y ago
I'm with cosmic_ape regarding the recommendation for SymPy. Write the two lines as symbolic expressions `expr1` and `expr2` then run `simplify(expr1-expr2)` to check if the answer is zero.
If you want to start with LaTeX then the parser from this library might be useful: https://github.com/Khan/KAS https://github.com/Khan/KAS