Answer to Question #242852 in Python for Rishi

Question #242852
Write a program to print the right alphabetic triangle up to the given N row
1
Expert's answer
2021-10-01T01:32:08-0400
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS