Computer Science, asked by suryakjr60791, 1 day ago

Write a program to print a natural number from one to n using while loop in python

Answers

Answered by samarthkrv
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