0
283views
Write a Python Program to Create Pyramid No Pattern (Value will be Column no +1)
1 Answer
0
0views

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 …

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.