class Figure:
    def __init__(self):
        pass
    def triangle(self,num):
        x=''
        print("Altura: ", num)
        for i in range(num):
            x+="*"
            print(x)
        
                
        
