**Tell us what’s happening:

I am trying to complete the Arithmetic Formatter challenge. I have been working on it all day and I think I’ve got it right. When using my code in Pycharm, as far as I can tell, the correct output is shown for the test cases test_arrangement and test_solutions, which are detailed in the test_module.py file. However, when putting my code in the replit IDE, I fail these two cases.

An example of an output in pycharm is shown in the attached picture. I appreciate that my code is not the most efficient or fastest way to get a solution but I can’t see what’s wrong with it besides that. Any help would be appreciated. **

My code so far: https://replit.com/@angaar96/boilerplate-arithmetic-formatter#arithmetic_arranger.py

**Your browser information:**

User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36`

**Challenge:** Arithmetic Formatter

**Link to the challenge:**