Reverse natural number using while loop

#Write a program to print 100 to 1 reverse natural numbers using while loop

 

 

no = 100
while (no>= 1):
   print(" ", no)
   no = no - 1

Output:


 

Popular posts from this blog

Python Programming Practical no 1

Python Progrmming Practical No 3