7 Program to print Right Angle Triangle in Python

Required Output:
Right Angle Triangle in Python

Program:

star = int(input("Enter any number:"))



for i in range(1,star+1):

    while(i>0):

        print("*",end="")

        i=i-1

    print()
Previous
Next Post »