height = 10
for row_level in range(height):
string = ''
for left_step in range(height - row_level):
string += ' '
string += '*'
for right_step in range(row_level * 2):
string += ' '
print(string + '*')
else:
string = ''
for i in range(height * 2 + 2):
string += '*'
print(string)