三元运算就是 如果是true,选择冒号前面的,否则选择冒号后面的
相当于if else
if (n >= 1) { return n+sum(n-1); } else { return n; }
不不主要想知道返回n是什么意思