Python Alphabet Pattern 6

Last Updated:

Python Alphabet Pattern 6

Try to print the following alphabet pattern using Python.

Print This Output
ABCDE
BCDE
CDE
DE
E

Source Code

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

Share this Page

Meet the Author