def star(x):
    star =''
    for i in range(x):
        star +='*'
        print(star)
star(5)

def starkebalik(y):
    starkebalik =''
    for i in range(y):
        starkebalik ='*' *(y-i)
        
        print(starkebalik)
    
starkebalik(5)