Inverted Right-Angle Triangle in Python

SOLUTION....

n = 5
for i in range(n, 0, -1):
    print("*" * i)

OUTPUT

Leave a Reply

Your email address will not be published. Required fields are marked *