I don't think something like this exists already in SymPy. You can get long division via the div() function, but the intermediary steps are not saved. However, the division algorithm itself is relatively simple, so it shouldn't be hard to write it out in such a way that prints each intermediary step as it goes.
Aaron Meurer On Thu, Mar 1, 2018 at 4:17 PM, Gen <[email protected]> wrote: > Hello, > > I am new to sympy and trying to understand its functionality. > > I would like to understand if it is possible to create a "step-by-step" > representation of a long division. > > Unfortunately, I did not find the answer to my question by searching the > documentation. > > Thank you in advance, > Gen > > -- > 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/fc5cb12a-7ad8-4bfa-8d4c-68aa6b97bda3%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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/CAKgW%3D6J8Q85ORk-eRq_kjfCDVuYdD63BDzu6ffjFWJ%2BDme5reQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
