New line creation

I have done some programming in Python and I fully well know that the syntax for a new line is \n in a string. However, it doesn’t seem to work in the replit text editor when I try to run my code for the arithmetic formatting project in the Scientific Computing with Python course.

Please post a link to your replit code.

'boilerplate-arithmetic-formatter - Replit

Currently, you are returning:

('  3801\n -    2\n ______',)

instead of the correct version of:

  3801      123\n-    2    +  49\n------    -----

for arithmetic_arranger(["3801 - 2", "123 + 49"])