#打印对顶三角形

a = int(input('>>>'))
for i in range(-a,a+1):
if i < 0:
i = -i
print(" "*(a-i)+'*'*(2*i+1)+" "*(a-i))
05-11 19:39