题解 | #数字三角形#
数字三角形
http://www.nowcoder.com/practice/804a22929b844e6b9379a5e90b5e2197
while 1: try: num = int(input()) for i in range(1,num+1): for j in range(1,i+1): print(j,end=" ") print() except: break
数字三角形
http://www.nowcoder.com/practice/804a22929b844e6b9379a5e90b5e2197
while 1: try: num = int(input()) for i in range(1,num+1): for j in range(1,i+1): print(j,end=" ") print() except: break
相关推荐