n = int(input('Please enter num: '))
for i in range(n*2-1):
    for j in range(n*2-1):
        if (i<n-1) and ((j+i < n-1) or (j-i > n-1)):
            print(' ' , end = '')
        elif (i>n-1) and ((i-j>n-1) or (i+j>(2*n)+(n-3))):
            print(' ' , end = '')
        else:    
            print('*' , end='')
    print()
07d1b02aba2aa86655c19fdd6491cd8f0b82b8ea
<mask token>

<mask token>
for i in range(n * 2 - 1):
    for j in range(n * 2 - 1):
        if i < n - 1 and (j + i < n - 1 or j - i > n - 1):
            print(' ', end='')
        elif i > n - 1 and (i - j > n - 1 or i + j > 2 * n + (n - 3)):
            print(' ', end='')
        else:
            print('*', end='')
    print()

n = int(input('Please enter num: '))
for i in range(n * 2 - 1):
    for j in range(n * 2 - 1):
        if i < n - 1 and (j + i < n - 1 or j - i > n - 1):
            print(' ', end='')
        elif i > n - 1 and (i - j > n - 1 or i + j > 2 * n + (n - 3)):
            print(' ', end='')
        else:
            print('*', end='')
    print()

n = int(input('Please enter num: '))
for i in range(n*2-1):
    for j in range(n*2-1):
        if (i<n-1) and ((j+i < n-1) or (j-i > n-1)):
            print(' ' , end = '')
        elif (i>n-1) and ((i-j>n-1) or (i+j>(2*n)+(n-3))):
            print(' ' , end = '')
        else:    
            print('*' , end='')
    print()