height  = 3
width = 4
space = height*width
m =1

for r in range(1,height+1):
    for x in range(m,width+1):
        for y in range(space,x+1,-1):
            print(' ',end='')
        for z in range(1,x+1):
            print('* ',end='')
        print()
    m+=2
    width+=2

for x in range(1,5):
    for y in range(space-5,0,-1):
        print(' ',end='')
    for z in range(1,5):
        print('* ',end='')
    print()


"""
# pattern 

          *
         * * 
        * * *
       * * * *
        * * *
       * * * *
      * * * * *
     * * * * * *
      * * * * *
     * * * * * *
    * * * * * * *
   * * * * * * * *
       * * * *
       * * * *
       * * * *

"""
d5e12a194ec1fd6e6a940c96b27512381d9b7c6b
<mask token>

<mask token>
for r in range(1, height + 1):
    for x in range(m, width + 1):
        for y in range(space, x + 1, -1):
            print(' ', end='')
        for z in range(1, x + 1):
            print('* ', end='')
        print()
    m += 2
    width += 2
for x in range(1, 5):
    for y in range(space - 5, 0, -1):
        print(' ', end='')
    for z in range(1, 5):
        print('* ', end='')
    print()
<mask token>

height = 3
width = 4
space = height * width
m = 1
for r in range(1, height + 1):
    for x in range(m, width + 1):
        for y in range(space, x + 1, -1):
            print(' ', end='')
        for z in range(1, x + 1):
            print('* ', end='')
        print()
    m += 2
    width += 2
for x in range(1, 5):
    for y in range(space - 5, 0, -1):
        print(' ', end='')
    for z in range(1, 5):
        print('* ', end='')
    print()
<mask token>

height  = 3
width = 4
space = height*width
m =1

for r in range(1,height+1):
    for x in range(m,width+1):
        for y in range(space,x+1,-1):
            print(' ',end='')
        for z in range(1,x+1):
            print('* ',end='')
        print()
    m+=2
    width+=2

for x in range(1,5):
    for y in range(space-5,0,-1):
        print(' ',end='')
    for z in range(1,5):
        print('* ',end='')
    print()


"""
# pattern 

          *
         * * 
        * * *
       * * * *
        * * *
       * * * *
      * * * * *
     * * * * * *
      * * * * *
     * * * * * *
    * * * * * * *
   * * * * * * * *
       * * * *
       * * * *
       * * * *

"""