palindromic traingle

Triangle Quest in Python – Solution

By | Technology | No Comments

I came across a programming puzzle in which we are given a positive integer N (0 < N< 10). we need to print a palindromic triangle of size N. For example if N = 5 then the expected output is [dt_code]1 121 12321 1234321 123454321[/dt_code] Below is my solution written in python: **Note that the above code is written for…

Read More