0

The program needs to output the numbers 1 to 9, each on a separate line, followed by a dot: 1. 2. 3. Using \n or """

26th Apr 2022, 3:57 AM
Nibir Nath
Nibir Nath - avatar
2 Answers
0
Nibir Nath show us your code attempt or do thisšŸ‘‡šŸ‘‡šŸ‘‡ use a for loop from 1 to 9 , print the number and dot print new line
26th Apr 2022, 4:03 AM
NonStop CODING
NonStop CODING - avatar
0
for i in range(1,10): print(str(i)+".")
26th Apr 2022, 5:43 AM
Mohamed Ayaou