Line breaks? | SoloLearn: Learn to code for FREE!


Line breaks?

During a quiz i typed the code print("1. /n 2. /n 3. /n 4. /n 5. /n 6. /n 7. /n 8. /n 9. /n") to try and get 9 different lines yet it told me i did it wrong... Can anyone tell me what i did wrong here. I want it to look like this. 1. 2. 3. 4. 5. 6. 7. 8. 9. It said i was close... :/

2/6/2021 12:43:26 AM

Khiam Major

4 Answers

New Answer


Khiam Major no problem. Happy coding 😉


i dont know what quiz you are talking about but the break line goes the other way. Like this. \n


Khiam Major you should set the best answer mark to the... best answer: actually you've marked the last answer (and didn't upvote anything)... However, if you've done some research before posting, you could have found this recent question: maybe you could help here, and maybe you could have got help from...


Its python i believe and yep thats probably it. Stupid mistake thanks guys!