Ver originaln = 9z = n+1s = '' for i in range(1,z): s += str(i) z -= 1 print(' '*z +s[:-1] + s[::-1])for i in range(1,n): v = s[:-i] print(' '*(z+i)+v[:-1]+ v[::-1])