Tell us what’s happening:
Describe your issue in detail here.
Hi, when I run this code on IDLE, everything comes out fine just like how it should.
But only when I run this on test it’s keep giving me this test failed.
I think the answer has to be (’ 3801 123\n’, ‘- 2 + 49\n’, ‘------ -----\n’)
but my answer is ’ 3801 123\n- 2 + 49\n------ -----’
Honestly on IDLE it’s the same, but it’s not the same on Replit and I don’t know how to make it the same. Can you please help me? I shared the Replit link.
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/95.0.4638.54 Safari/537.36
Challenge: Arithmetic Formatter
Link to the challenge: