Python Program to Print Right Triangle of Numbers in Reverse

Write a Python program to print right triangle of numbers in reverse order pattern using for loop.

```rows = int(input("Right Triangle Reverse Numbers Rows = "))

print("==Right Triangle of Numbers in Reverse Order Pattern==")

for i in range(rows, 0, -1):
for j in range(rows, i - 1, -1):
print(j, end = ' ')
print()```

This Python example prints the reverse ordered numbers in the right triangle number pattern using a while loop.

```rows = int(input("Right Triangle Reverse Numbers Rows = "))

print("==Right Triangle of Numbers in Reverse Order Pattern==")
i = rows

while(i >= 1):
j = rows

while(j >= i):
print(j, end = ' ')
j = j - 1
print()
i = i - 1```
``````Right Triangle Reverse Numbers Rows = 13
==Right Triangle of Numbers in Reverse Order Pattern==
13
13 12
13 12 11
13 12 11 10
13 12 11 10 9
13 12 11 10 9 8
13 12 11 10 9 8 7
13 12 11 10 9 8 7 6
13 12 11 10 9 8 7 6 5
13 12 11 10 9 8 7 6 5 4
13 12 11 10 9 8 7 6 5 4 3
13 12 11 10 9 8 7 6 5 4 3 2
13 12 11 10 9 8 7 6 5 4 3 2 1 ``````