Hi, I'm new to SymPy, but I'm using it to do some simple things already.
I'm wondering, can I feed SymPy an expression and get a tree representation
back showing me the order of operations used to evaluate the expression? I
know this is all handled under the hood, but I don't know if it's exposed.
For example, for the expression: 4 * 5 + 6 * (1 + 2)
I'd like to get something like:
+
/ \
* *
/ \ / \
4 5 6 +
/ \
1 2
Is this a thing?
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/90597353-0ff0-42c8-a554-59f4b069cba2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.