95. Python Program to Print Number Triangle.
How does this program work?
- This program is used to print Number Triangle using Python.
Here is the code
n = int(input( "Enter the Number of Rows: "))
i = n
while(i >= 1):
for j in range(1, i + 1):
print(i, end = ' ')
i = i - 1
print()