- 1
The program needs to output the numbers 1 to 9, each on a separate line, followed by a dot: 1. 2. 3.
Programing
7 Answers
+ 4
And which language?
You could do this using a for loop, or a while loop or a do/while loop.
+ 1
And your try??
Well a big hint: you can use '\n'
0
# In python:
for i in range(1, 10):
print(str(i)+".")
0
This is what you should do.
print("""""""""1.2.3.4.5.6.7.8.9.""""""""")
0
You can also use \n like someone said but I was just giving you another option