Answer to Question #220963 in Python for Hari nadh babu

Question #220963

Solid Right Angled Triangle - 2


This Program name is Solid Right Angled Triangle - 2. Write a Python program to Solid Right Angled Triangle - 2, it has two test cases


The below link contains Solid Right Angled Triangle - 2 question, explanation and test cases


https://drive.google.com/file/d/1wZHjOSToDFKleclnKLf2md1FclvO7EWq/view?usp=sharing


We need exact output when the code was run

1
Expert's answer
2021-08-05T03:01:35-0400
n = int(input("Enter the number of rows"))  
for i in range(0, n):  
        for j in range(0, i + 1):  
            print("* ", end="")       
        print()
for i in range(0, n):  
        for j in range(0, i + 1):  
            print("* ", 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