for x in range(65,70):
    for y in range(65,x+1):
        print(chr(y),end='')
    print()

"""
# p[attern 

A
AB
ABC
ABCD
ABCDE

"""
for x in range(65,70):
    for y in range(65,x+1):
        print(chr(y),end='')
    print()

"""
# p[attern 

A
AB
ABC
ABCD
ABCDE

"""
# p[attern   A AB ABC ABCD ABCDE