Answer to Question #221171 in Python for Hari nadh babu

Question #221171

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/1FoDyc8wQxsu918bAHA-Va4WSfPZTSZ9e/view?usp=sharing


We need exact output when the code was run

1
Expert's answer
2021-08-02T07:10:54-0400
n = int(input())
for i in range(n):
    print((' '.join(['*'] * (i + 1))).rjust(2 * n - 1))

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