If you are having sympy do the math for you using `solve`, `factor`, `simplify` and things like that it is often difficult. One option is to restart your notebook kernel and run all the steps except for the one you made a mistake at.
If you are doing algebraic steps by hand, you can just reverse the the last step. If you are doing this you may also want to look at algebra_with_sympy <https://gutow.github.io/Algebra_with_Sympy/algebra_with_sympy.html>, which has some convenience features for doing step-by-step algebra. Full disclosure: I am the primary contributor to algebra_with_sympy. On Monday, December 4, 2023 at 11:24:51 AM UTC-6 [email protected] wrote: > Hello, > This is my first time. Just wondering if there is a command that I can do > when, in a jupyter notebook, when I want to go back one step (If I did a > bad algebraic manipulation for example). Thank you in advance for your > help. Mario > -- 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/397ad5d2-22ca-48cb-a1c3-53693b23acedn%40googlegroups.com.
