Test_solutions and test_arrangement solution failed

Tell us what’s happening:
I have failed on 2 tests in which I don’t understand which part I did something wrong
From the traceback it seems like I failed in the formatting (like having + “\n” on the back of the code), however the text formatting becomes really weird if I dont put “+ “\n””. Any suggestions?

Your code so far

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.128 Safari/537.36.

Challenge: Arithmetic Formatter

Link to the challenge:

It looks like you may be putting the problems one by one in the output string instead of side by side.

You have to think about the output as “line after line” not “problem after problem”.
As long as your output does not look EXACTLY as the example, you will fail the test. Your output doesn’t just need to look readable to you, but as the given constriction by the task, which would later be a client and/or another development team.

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