Build the rows
The outer loop controls the row length, and the first inner loop prints the shrinking left padding.
The rows shift right while growing from A to AB, ABC, ABCD, and ABCDE.
The outer loop controls the row length, and the first inner loop prints the shrinking left padding.
The second inner counter z starts at 1 on every line; chr(z + 64) converts it to A through the row limit.
The inner print calls use end="" to keep values on the same line. The final empty print() moves to the next row.