Write a Python program to print first 10 natural numbers in reverse order using for loop.
print("====The First 10 Natural Numbers in Reverse====") for i in range(10, 0, -1): print(i)
This Python program displays the first 10 natural numbers in reverse or descending order using a while loop.
print("====The First 10 Natural Numbers in Reverse====") i = 10 while(i >= 1): print(i) i = i - 1
====The First 10 Natural Numbers in Reverse====
10
9
8
7
6
5
4
3
2
1