Arithmetic Formatter works with pycharm but not with repl.it

Hey guys!
I created the project with pycharm and everything works well. But if I put it into repl, there are errors. Can someone help me please?

Here’s the code:

This is the project:

your solution doesn’t match exactly the required one:

-     3      3801      45      123    
?                                 ----
+     3      3801      45      123

the line with ? shows the difference, and you have some spaces at the end of the line that shoudn’t be there

this is the same for all the tests that appear in the console

1 Like

I fixed it and it worked! Thank you so much :slight_smile: