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?
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.