Python programs to print alphabet pattern

In this article, we have explained the list of all alphabet pattern programs in Python programming language. I have used python 3.7 compiler for debugging purpose.

Alphabet pattern

A
AB
ABC
ABCD
ABCDE

for i in range(1, 6):
    for j in range(65, 65+i):
        a = chr(j)
        print(a, end=" ")
    print()

 

1 thought on “Python programs to print alphabet pattern”

Leave a Comment