Python Alphabet Pattern 17

Last Updated:

Python Alphabet Pattern 17

Try to print the following alphabet pattern using Python.

Print This Output
EDCB*
EDC*A
ED*BA
E*CBA
*DCBA

Source Code

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

Share this Page

Meet the Author