<reponame>sourabh48/python<gh_stars>0
for x in range(7,0,-2):
    for y in range (0,(x+1)//2) :
        print("*",end = ' ')
    print ()
for x in range(2,7,2):
    for y in range (0,(x+2)//2) :
        print("*",end = ' ')
    print ()    
for x in range(7,0,-2):
    for y in range (0,(x+1)//2) :
        print("*",end = ' ')
    print ()
for x in range(2,7,2):
    for y in range (0,(x+2)//2) :
        print("*",end = ' ')
    print ()