0
283views
Write a Python Program to Create Pyramid No Pattern (Value will be Column no +1)
1 Answer
written 2.0 years ago by |
Explanation:-
Step 1:- Take input for no of rows
Step 2:- Start 1st for loop to iterate n no of times (n rows)
Step 3:- Take 2nd for loop to iterate i items in a row
1st iteration (i=1) 2nd for loop will iterate 1 time
Output:-
1
2nd iteration …