93. 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: "))
for i in range(0, n):
num = 1
for j in range(i-n,0):
print(num, end = " ")
num = num + 1
print(" ")