1
1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 12345678987654321 123456787654321 1234567654321 12345654321 123454321 1234321 12321 121 1
a=" 123456789" for i in range(9):b=[f"{(a[:j]+a[j:0:-1]):^18}"for j in range(1,i+2)];*map(print,b+b[-2::-1]+[""]),