Computer Science, asked by ishan200780, 3 months ago

write a python program to display first 10 natural number using loop

Answers

Answered by pooj0303
3

Answer:

num=int(input("Enter maximum Natural number: "))

i=1;

while i<=num:

print(i),

i=i+1

Explanation:

this is using while loop.

hope it helps

Similar questions