WAP to print pattern like
1
2 1
3 2 1
4 3 2 1
5 4 3

WAP to print pattern like
1
2 1
3 2 1
4 3 2 1
5 4 3 2 1​

About the author
Samantha

2 thoughts on “WAP to print pattern like<br /> 1<br /> 2 1<br /> 3 2 1<br /> 4 3 2 1<br /> 5 4 3”

  1. Answer:

    rows = int(input())

    for row in range(1, rows+1):

    for column in range(row, 0, -1):

    print(column, end=” “)

    print(” “)

    Explanation:

    This is in python

    Reply

Leave a Reply to Amelia Cancel reply