wrap your expression in a `print()` statement: `print(1+x+x**2+x**3)`.
On Wednesday, February 10, 2021 at 9:43:44 AM UTC-6 
michal.bozyd...@gmail.com wrote:

> Hi.
>
> I'd like to generate code of simplified formula. I.E:
>
> When I pass: 1+x+x**2+x**3
> I'd like to have: x**3+x**2+x+1
>
> Is it possible to achieve it?
>
> Thanks
> Mike
>

-- 
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 sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/554ae78d-056b-4292-b51d-cf896455d95cn%40googlegroups.com.

Reply via email to