Write a program to print a natural number from one to n using while loop in python
Answers
Answered by
0
Answer:
n = int(input("Enter a number:"))
i = 0;
while i < n:
print("The natural numbers between " , 0 , "and " , n "are ", i)
Explanation:
Similar questions