n = int(input()) for i in range(0, n): print(" "*(i)+"*"*(n-i))
처음 줄에는 빈 칸이 없으므로 범위를 0부터 시작하면
입력을 5로 했을 때 별 5개가 찍히고 차례대로 4,3,2,1로 나온다