Python Alphabet Pattern 23

Last Updated:

Python Alphabet Pattern 23

Try to print the following alphabet pattern using Python.

Print This Output
 
        E
      E D
    E D C
  E D C B
E D C B A

Source Code

Python Compiler
for i in range(69, 64, -1): k = 70; for j in range(65, 70): if(j >= i): k -= 1 a = chr(k) print(a, end=" ") else: print(" ", end=" ") print()

Share this Page

Meet the Author