Computer Science, asked by arom70, 2 months ago

write an algorithm to print first n natural numbers which contain a loop​

Answers

Answered by hs4477868
0

Answer:

for python

Explanation:

n=int(input())

for i in range(1,n+1):

print(i,end=" ")

#if you want each number in new line then remove "end=" " "part

Similar questions