0
You need to make a program for a leaderboard. The program needs to output the numbers 1 to 9, each on a separate line,
Please solve this anyone
6 Answers
0
Check the hint!
You can use the \n newline character to create line breaks, or, alternatively, create the desired output using three double quotes """.
Review lesson 10.1
0
print("""1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.""")
- 1
This is the correct answer: x=("""1.\n
2.\n
3.\n
4.\n
5.\n
6.\n
7.\n
8.\n
9.\n""")
print(x)
you need to have an input!!
- 2
print(""" 1. 2. 3. 4. 5. 6. 7. 8. 9. """)
- 4
Show your attempt or do it all by yourself.
- 7
Print ("""1.2.3.4.5.6.7.8.9.""")