Hello SymPy users,
Suppose I have a = b**2, and I want to pprint:
2
a = b
How can I do it? The closest I can get is:
#!/usr/bin/python
from sympy import *
var("a b")
a = b**2
pprint({"a": a)
But it
- prints : instead of = and also
- prints ugly {} around equality (or assignment).
Ideally I want something like:
pprint(a.__name__ + " = " + a)
--
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 http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.