001012012301234
j = "" for i in range(5): j = str(j)+str(i) print(j)
采纳下哦
for i in range(5):for j in range(i+1):print(j,end='')print()