Solid Right Angled Triangle - 2
Write a Python program of Solid Right Angled Triangle - 2. It consists of two test cases
The below link contains Solid Right Angled Triangle - 2 - Question, explanation and test cases
https://drive.google.com/file/d/1kNA1MOxGcIWUHPHk-leph6neGML6Uit6/view?usp=sharing
We need all test caese can be come while code was running
n = int(input())
for j in range(2):
for i in range(n):
print((' '.join(['*'] * (i + 1))).ljust(2 * n - 1))
Comments
Leave a comment