write a python program to display first 10 natural number using loop
Answers
Answered by
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