- 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. ...

15th Feb 2021, 12:29 PM
ALI REHAN
ALI REHAN - avatar
33 Antworten
+ 20
print(""" 1. 2. 3. 4. 5. 6. 7. 8. 9. """)
28th May 2021, 9:51 AM
Vraj Soni
Vraj Soni - avatar
+ 15
for i in range(9): print(str(i + 1) + ".")
2nd Aug 2021, 9:44 AM
TrebleClef20
TrebleClef20 - avatar
+ 3
for i in range(9): print(str(i+1)+'.')
28th Sep 2021, 7:06 AM
Md. Sabilar Rahman 201-15-3609
Md. Sabilar Rahman 201-15-3609 - avatar
+ 3
Why doesn't this work? print("1. \n2. \n3. \n4. \5. \n6. \n7. \8. \n9.")
14th Jul 2022, 8:01 AM
Evans Acheampong
Evans Acheampong - avatar
+ 2
print(""" 1. 2. 3. 4. 5. 6. 7. 8. 9. """)
10th Feb 2022, 4:24 AM
Marvin Manaog
Marvin Manaog - avatar
+ 1
print(""" 1. 2. 3. 4. 5. 6. 7. 8. 9. """)
22nd Apr 2021, 1:29 PM
JAYESHKUMAR ITALIYA
+ 1
print("1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.\n")
25th Aug 2021, 11:53 AM
Supeshala Hansini
Supeshala Hansini - avatar
+ 1
try this print("1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.")
30th Jan 2022, 8:06 PM
Avrian Shandy
Avrian Shandy - avatar
0
Hoooow??
15th Feb 2021, 12:30 PM
ALI REHAN
ALI REHAN - avatar
0
print("1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.")
30th Mar 2021, 8:14 PM
Aqsam Zaheer
Aqsam Zaheer - avatar
0
This works print("\n1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.")
15th Jun 2021, 2:52 PM
DesCodeZA👩🏻‍💻❤️
DesCodeZA👩🏻‍💻❤️ - avatar
0
print(""" 1. 2. 3. 4. 5. 6. 7. 8. 9. """)
16th Dec 2021, 7:57 AM
Marvin Manaog
Marvin Manaog - avatar
0
#your code goes here print(""" 1. 2. 3. 4. 5. 6. 7. 8. 9.""")
26th Dec 2021, 10:53 AM
Maryam Ahmed
Maryam Ahmed - avatar
0
x = range(1,10) for n in x: i = str(n)+'.' print (i)
19th Jan 2022, 1:56 PM
vignesh durai
vignesh durai - avatar
0
I ahve an error that
18th Mar 2022, 12:45 PM
Reyan Jahangir
0
I have an error showing that thier is no input. What to do?
18th Mar 2022, 12:47 PM
Reyan Jahangir
0
I struggled, but I discovered I was adding more space than needed. print ("1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.")
11th Aug 2022, 5:25 PM
Benjamin Niyodusenga
Benjamin Niyodusenga - avatar
0
Guess the output of this code: age = 42 age = 24 - 6 print(age)
12th Sep 2022, 3:05 AM
Diland
0
12%5
11th Nov 2022, 10:32 AM
Jojo Dorjbat
Jojo Dorjbat - avatar
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
17th Nov 2022, 5:15 AM
RAJVEER SINGH BAIRWA
RAJVEER SINGH BAIRWA - avatar