- 注意:控制循环从1开始,不是0,如果是0的话,就会先输出1行空
while True:
try:
x = int(input())
for i in range(1,x+1):
for j in range(i):
print("*",end=" ")
print()
except:
break
while True:
try:
x = int(input())
for i in range(1,x+1):
for j in range(i):
print("*",end=" ")
print()
except:
break