Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
Hi! It is more easy if you exemplify your thoughts with at least pseudo code. But, of course, you have to start with the rules for factorization of your expression and then translate them into Python. So start to write down what you want the code should do with the expression in a detailed description: 1. Input expression 2. Split the expression into parts 3. Save parts into a collection 4. ...
23rd Apr 2021, 1:49 PM
Per Bratthammar
Per Bratthammar - avatar