k=int(input("Type the odd number : "))

center = k//2
a=1

for i in range(k):
    b=(k-a)//2
    print('*'*b,'+'*a,'*'*b)
    if i <center:
        a+=2
    else:
        a-=2

ccaf37fa24ae10794a453897f9e5d65119089871
<mask token>

<mask token>
for i in range(k):
    b = (k - a) // 2
    print('*' * b, '+' * a, '*' * b)
    if i < center:
        a += 2
    else:
        a -= 2

k = int(input('Type the odd number : '))
center = k // 2
a = 1
for i in range(k):
    b = (k - a) // 2
    print('*' * b, '+' * a, '*' * b)
    if i < center:
        a += 2
    else:
        a -= 2

k=int(input("Type the odd number : "))

center = k//2
a=1

for i in range(k):
    b=(k-a)//2
    print('*'*b,'+'*a,'*'*b)
    if i <center:
        a+=2
    else:
        a-=2
