Printing special pattern in Python
We have to print the pattern as given in the example below : Examples: Input : 4 Output : 1 1 12 21 123 321 12344321 123 321 12 21 1 1 Input : 5 Output : 1 1 12 21 123 321 1234 4321 1234554321 1234 4321 123 321 12 21 1 1 Approach : You can… Read More »
