感觉很难

while 1:
    try:
        n = int(input())
        for i in range(0,n):
            print(" "*(n-i-1),end="")
            print("* "*(i+1))
    except:
        break