Build the rows
The outer counter x moves backward through D to A while the indentation increases.
The centered rows repeat D seven times, C five times, B three times, and A once.
The outer counter x moves backward through D to A while the indentation increases.
The decr counter controls how many copies appear; chr(x + 64) converts the row number to its letter.
The inner print calls use end="" to keep values on the same line. The final empty print() moves to the next row.