Hi, there! I use str function to convert sympy tree expression to infix
math string. It works fine, except the case when i convert the expression
in power, for example:
a = Symbol('a')
res = str(a**2)
print(res)
# a**2
Is there any way to convert sympy tree expression to Standart infix math
string form:
a^2 instead of a**2 ?
Thanks...
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/d1eb5de6-6333-447d-9583-50fe7a0ac0ddn%40googlegroups.com.