Build the rows
The outer loop decreases x and a separate loop adds the indentation for each row.
The rows show ABCDE, ABCD, ABC, AB, and A, moving right as they get shorter.
The outer loop decreases x and a separate loop adds the indentation for each row.
The inner counter starts at zero and runs to x - 1; chr(z + 65) prints the matching alphabet prefix.
The inner print calls use end="" to keep values on the same line. The final empty print() moves to the next row.