Build the rows
The outer loop counts down through character codes for E to A and also controls the row length.
The rows repeat E five times, D four times, C three times, B twice, and A once.
The outer loop counts down through character codes for E to A and also controls the row length.
chr(x + 64) converts the current row code to a letter, which the inner loop repeats.
The inner print calls use end="" to keep values on the same line. The final empty print() moves to the next row.