# -*- coding: utf-8 -*-
# @Time  : 2020/11/18 20:00
# @Author : Jim Huang！！
# @FileName: 1-7.py
# @Software: PyCharm
# 打印对顶三角形
for i in range(-3,4):
    line=abs(i)
    print(" "*(4-(line+1))+"*"*(line*2+1))
