n = 5
a = n
b = n
for x in range(1, n + 1):
    for y in range(1, n * 2):
        if a < y < b:
            print(" ", end=" ")
        else:
            print("*", end=" ")
    a -= 1
    b += 1
    print()
