Arithmetic Formatter help (pls)

I’m not sure why this isn’t working properly, the output is the same as the examples listed in The instructions
Here’s the link to my code: https://replit.com/@th0mas-w/boilerplate-arithmetic-formatter#arithmetic_arranger.py

(I’m pretty terrible at deciphering the error messages so it’s probably something to do with the spacing that I haven’t noticed)

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

The +s indicate something that is in your output that was not expected. I looks like you have extra spaces at the end of each line.

2 Likes

Ah ok, I think I see it, thanks

Hey th0mas,
I was going to try and help but then I looked at your code and saw that it WORKS! Awesome. :+1:

1 Like

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