- 2
Does anyone know the answer to this question in Phython? I am stuck
You need to make a program for a leaderboard. The program needs to output the numbers 1 to 9, each on a separate line, followed by a dot: 1. 2. 3.
7 Respuestas
+ 3
yes, sure: show your attempt, and we will help you to complete the task ;P
(most common error is to put unexpected spaces at end of each lines ^^)
+ 1
Must have unmarked by mistake
0
This is my attempt
print("1. \n2. \n3. \n4. \n5. \n6. \n7. \n8. /n9.")
0
remove the spaces (between dots and \n's) and change the last /n by \n ^^
0
Thank you so much, it worked.
0
that was the common mistake I talked in my first post: why did you mark it as best and then immediatly unmark?