+ 1
challenge : Triangle Quest
You are given a positive integer . Your task is to print a palindromic triangle of size . For example, a palindromic triangle of size is: 1 121 12321 1234321 123454321 You can't take more than two lines. Input Format A single line of input containing the integer N. Constraints 0< N < 60
4 Answers
+ 2
+ 1
Yay I am the first one to answer this! Thanks for the challenge, here's my try:
https://code.sololearn.com/WvxeWfWtKxfq/#js
+ 1
please consider "You can't take more than two lines. "