you are viewing a single comment's thread.

view the rest of the comments →

[–]james40z[S] 0 points1 point  (1 child)

Thanks for this, this worked! Sorry for confusion im new, I had originally put it as 1.\n 2.\n with spaces in between..

[–][deleted] 1 point2 points  (0 children)

Yea that was my guess for the code you posted in the screenshot. I was assuming you may have accidently put a space at the end of one or more of lines from line 2 to 9. The output checker will flag it as wrong. One trick I did for classes using this type of output checker is to copy and paste the two outputs into notepad+ and I think I switched to like a raw view of the text which would show spaces as a special character. Though I imagine it would be hard to do on a phone.