Print Pattern

3.9

8 votes
Easy
Problem

Print a Pattern According to The Given Value of N

Eg: N=5

Pattern Is

image

Input Format

Input The Value of N, The Number of Lines in the Pattern

Output Format

Print Pattern According to The Given Value of N

Constraints

  • 0 < N < 51
Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?