Python triangle pattern with while loops code example
Example: Python triangle pattern with while loops
print("Second Number Pattern ")
lastNumber = 6
for row in range(1, lastNumber):
for column in range(1, row + 1):
print(column, end=' ')
print("")