https://www.hackerrank.com/challenges/triangle-quest-2
Problem
You are given a positive integer N.
Your task is to print a palindromic triangle of size N.
For example, a palindromic triangle of size is:
1
121
12321
1234321
123454321
You can't take more than two lines. The first line (a for-statement) is already written for you.
You have to complete the code using exactly one print statement.
Input Format
A single line of input containing the integer N.
Output Format
Print the palindromic triangle of size N as explained above.
Sample Input 0
5
Sample Output 0
1
121
12321
1234321
123454321