Python Skip-Letter Repetition Pyramid (Pattern 38)

Python Code
inc = 1
char = 65  # ASCII of 'A'
for x in range(5, 0, -1):
    for y in range(x, 0, -1):
        print(" ", end="")
    print(chr(char) * inc, end="")
    char += 2
    inc += 2;
    print()

Output:

Output of the Python Skip-Letter Repetition Pyramid pattern
BEGINNER WALKTHROUGH

How the Skip-Letter Repetition Pyramid works

The centered rows repeat A, C, E, G, and I with odd widths from one to nine.

01

Build the rows

The outer loop decreases the left padding on each new row.

02

Choose what each row prints

The repetition count grows by two, and char also increases by two, so the displayed letters skip every other character.

03

Keep the output aligned

The inner print calls use end="" to keep values on the same line. The final empty print() moves to the next row.