- 18
How can I solve this question
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. ...
34 Respuestas
+ 20
print("""
1.
2.
3.
4.
5.
6.
7.
8.
9.
""")
+ 15
for i in range(9):
print(str(i + 1) + ".")
+ 3
for i in range(9):
print(str(i+1)+'.')
+ 3
Why doesn't this work?
print("1. \n2. \n3. \n4. \5. \n6. \n7. \8. \n9.")
+ 2
print("""
1.
2.
3.
4.
5.
6.
7.
8.
9.
""")
+ 1
print("""
1.
2.
3.
4.
5.
6.
7.
8.
9.
""")
+ 1
print("1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.\n")
+ 1
try this
print("1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.")
0
Hoooow??
0
print("1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.")
0
This works
print("\n1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.")
0
print("""
1.
2.
3.
4.
5.
6.
7.
8.
9.
""")
0
#your code goes here
print(""" 1.
2.
3.
4.
5.
6.
7.
8.
9.""")
0
x = range(1,10)
for n in x:
i = str(n)+'.'
print (i)
0
I ahve an error that
0
I have an error showing that thier is no input. What to do?
0
I struggled, but I discovered I was adding more space than needed.
print ("1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.")
0
Guess the output of this code:
age = 42
age = 24 - 6
print(age)
0
12%5
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, followed by a dot:
1.
2.
3.
...
answer is
#your code goes here
print("1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.\n")
for more doubt solving telegram on this channel
https://youtu.be/tOWQqOWieE4
by janveer singh