Build the rows
The outer counter runs above and below zero; abs(x) controls both the indentation and the row width.
Each indented row counts down from 3 toward its edge, reaching 3210 at the widest point.
The outer counter runs above and below zero; abs(x) controls both the indentation and the row width.
The inner z loop counts down from size to abs(x), printing one more number as each row approaches the center.
The inner print calls use end="" to keep values on the same line. The final empty print() moves to the next row.