If you understand list comprehensions, then this might be of some help:

```
>>> def numberedSquare(n):
for j in range(n,0,-1):
print (''.join([str(i) for i in range(j,j+n)]))
>>> numberedSquare(9)
91011121314151617
8910111213141516
789101112131415
67891011121314
5678910111213
456789101112
34567891011
2345678910
123456789
>>> numberedSquare(5)
56789
45678
34567
23456
12345
```