Python Alphabet Pattern 27

Last Updated:

Python Alphabet Pattern 27

Try to print the following alphabet pattern using Python.

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

Source Code

Python Compiler
for i in range(65, 70): for j in range(70, i, -1): print(" ", end="") for k in range(65, i+1): a = chr(k) print(a, end=" ") print()

Share this Page

Meet the Author