Question #242852

Write a program to print the right alphabetic triangle up to the given N row

Expert's answer

N = int(input())
for r in range(0, N+1):
    for l in range(65, 65+r):
        print(chr(l), end=" ")
    print(" ")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS