思路:
先打印a边长,然后递减
while True:
try:
a=int(input())
b=a
for x in range(1,a+1):
print("* "*b)
b-=1
except:
break
先打印a边长,然后递减
while True:
try:
a=int(input())
b=a
for x in range(1,a+1):
print("* "*b)
b-=1
except:
break