Write a program to print reverse counting from 10 to 1 using while loop in Python.

Problem 1

Write a program to print reverse counting from 10 to 1 using while loop in Python.

Solution:
                    If output is space separated 
                    10 9 8 7 6 5 4 3 2 1

 

 


If the output is line separated
10
9
8
7
6
5
4
3
2
1

 

 


Post a Comment (0)
Previous Post Next Post