Assume I have a 2D array in Python and I add some padding. How can I iterate over the new padded area only?
For example
1 2 3 4 5 6 7 8 9