0

Can anyone clarify this for me?

I’m currently working on the Code 13 Project, where it asks me to make a leaderboard. I do the code where I print… I’m not gonna type it all out but I put print and then I have a string going through 1.-9. with the \n between everything for line spacing, and it gives me the exact same output it shows I should have. But it keep telling me I’m wrong. How do I do the code correctly? Edit: print("1.\n2.\n3.\n4.\n5.\n6.\n7.\n8\n9.") this is the code for those asking

13th Jun 2021, 9:05 AM
Shelby Brown
Shelby Brown - avatar
3 Réponses
+ 1
Hi! Can you show your code? Thx!
13th Jun 2021, 9:19 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
did you put space(s) between numbers an \n's? that's the most common mistake in sololearn course code coach practice ^^ output is expected exactly as it should be, meaning without (invisible) space(s) at end of lines ;P
13th Jun 2021, 9:11 AM
visph
visph - avatar