여기에 코드 입력
n = int(input()) stars = 2 * n - 1 space = 0 for i in range(n): for j in range(space): print(' ', end='') for j in range(stars): print('*', end='') for j in range(space): print(' ', end='') print('\n', end='') stars -= 2 space += 1