Beginner here to coding and the forums. I recently posted a question here: (Why are my python functions failing to return correct output (algebra error)?) that was rejected. I just wanted to learn why as there were some comments about MRE and Debugging. For some background, I've had a look at all the MRE and Debugging Articles linked in those comments, but they were quite technical so I apologise if I couldn't understand much from there.
For MRE, I looked at my code and edited out the unnecessary parts and kept it down to the essentials of what was needed as there was very specific algebra there. In the future, should I have made entirely new code? I'm not really sure what I did wrong here but would love to know.
For Debugging, I assume that just means looking through the code error and seeing what is causing the errors, but I have done that and the code ran fine, just that the code's roots are different from the mathematically correct roots by Wolfram Alpha.
So I'm just a little confused, thanks in advance!