Python Alphabet Pattern 25

Last Updated:

Python Alphabet Pattern 25

Try to print the following alphabet pattern using Python.

Print This Output
A B C D E
F G H I
J K L
M N
O

Source Code

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

Share this Page

Meet the Author