for a in range(2,7):(缩进)for b in range(1,a):(缩进)(缩进)print(b,end='')(缩进)print('')for a in range(6,1,-1):(缩进)for b in range(1,a):(缩进)(缩进)print(b,end='')(缩进)print('')