Build the rows
The outer loop advances through the character codes for A to E, selecting one letter for each row.
The rows repeat A once, B twice, C three times, D four times, and E five times.
The outer loop advances through the character codes for A to E, selecting one letter for each row.
The inner range grows with the row code, and chr(x) prints the selected letter for each iteration.
The inner print calls use end="" to keep values on the same line. The final empty print() moves to the next row.