n = int(input()) for i in range(1, n + 1): print(chr(64 + i) * i)
10
A BB CCC DDDD EEEEE FFFFFF GGGGGGG HHHHHHHH IIIIIIIII JJJJJJJJJJ
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!