题解 | #正斜线形图案#
正斜线形图案
http://www.nowcoder.com/practice/61ef68d129534dfbb04b232e1244e447
while True:
try:
n = int(input())
for i in range(1,n+1):
print(' '*(n-i) + '*')
except:
break
正斜线形图案
http://www.nowcoder.com/practice/61ef68d129534dfbb04b232e1244e447
while True:
try:
n = int(input())
for i in range(1,n+1):
print(' '*(n-i) + '*')
except:
break
相关推荐