Unable to pass Arithmetic Formatter tests

Tell us what’s happening:
Describe your issue in detail here.
hi, i’ve solved the Arithmetic Formatter problem and tried all the test cases on my ide and compared the output with the desired output and they are the same, but the problem is that i always fail the test cases where i need to return an arthmetic problem

Your code so far
https://replit.com/@ahmedkhalil915/boilerplate-arithmetic-formatter

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36

Challenge: Arithmetic Formatter

Link to the challenge:

Here is a piece of the error message:

-    32         1      45      123      988
+    32         1      45      123      988    
?                                          ++++
- - 698    - 3801    + 43    +  49    +  40
+ - 698    - 3801    + 43    +  49    +  40    
?                                          ++++

You are having trailing spaces at the end of the lines.

1 Like

thank you so much, i’ll check it out