面Python代码用于求1 + 1 + 1 + 1 + 1 + ...之和,其中第N项的分母为 1 3 6 10 15
1+2+...+N <
lastSum = i
lastSum = sum( i )
lastSum += i
lastSum *= i