Https://replit.com/@surajkupale/boilerplate-arithmetic-formatter-1

Tell us what’s happening:
I don’t know what exactly this error is about. Please ant help me to understand this.
Your project link(s)

solution: https://replit.com/@surajkupale/boilerplate-arithmetic-formatter-1

Your browser information:

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

Challenge: Arithmetic Formatter

Link to the challenge:

Nice to use re here, with which other languages do you have experience?

You have 2 error messages, the solutions to the problems are correct. but both error messages refer to the display of your output.

Then look at the output below (copy/pasted your output, but the colors make it more clear): lines with ‘-’ is your output, ‘+’ is the expected output and ‘?’ are differences

If you can pin point where they come from, I am sure you can solce this :slight_smile: (and if not: let us know what you tried and ask again).
Good luck!

-     3      3801      45      123    
?                                 ----
+     3      3801      45      123
- + 855    -    2    + 43    +  49    
?                                 ----
+ + 855    -    2    + 43    +  49
- -----    ------    ----    -----    
?                                 -----
+ -----    ------    ----    ----- 
-    32         1      45      123    
?                                 ----
+    32         1      45      123
- - 698    - 3801    + 43    +  49    
?                                 ----
+ - 698    - 3801    + 43    +  49
- -----    ------    ----    -----    
?                                 ----
+ -----    ------    ----    -----
-   -666      -3800      88      172    ? -     -                           ----
+  -666     -3800      88      172 

Hey Thanks, Brain, That’s Really Help me out.
I solved 1 out of 2 errors. I used rstrip() to remove white spaces but still facing an error.
I have an experince in NodejS and SQL.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.