Scientific Computing with Python Projects - Arithmetic Formatter

When I am returning soluction in the code test_module says that I have errors in my output, but even when checked it by hand counting pretty much everything and I didn’t find anything wrong. I tried pretty much everything and this still doesn’t work. Can someone help me ?

link to code: boilerplate-arithmetic-formatter - Python Repl - Replit

Challenge: Scientific Computing with Python Projects - Arithmetic Formatter

Link to the challenge:

If you search the forum you will see others who had similar issue. Take a look and see if that helps.

I will do it right away

look at the errors


E     -    32         1      45      123      988
E     +    32         1      45      123      988    
E     ?                                          ++++
E     - - 698    - 3801    + 43    +  49    +  40
E     + - 698    - 3801    + 43    +  49    +  40    
E     ?                                          ++++
E     - -----    ------    ----    -----    -----
E     + _____    ______    ____    _____    _____    
E     -  -666     -3800      88      172     1028
E     +  -666     -3800      88      172     1028    
E     ?                                          ++++

it shows the difference between your code and the expected code. You have extra characters at the end of each line.

Thanks for the help but I just found the problem and fixed it myself. All I had to do was sleep and check everything again.

1 Like