Python Alphabet Pattern 12

Last Updated:

Python Alphabet Pattern 12

Try to print the following alphabet pattern using Python.

Print This Output
AAAAA
BBBB
CCC
DD
E

Source Code

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

Share this Page

Meet the Author