我想要做的是按顺序减去该列表中的所有项目:
>>> ListOfNumbers = [1,2,3,4,5,6,7,8,9,10] >>> 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 # should be computed -53
python
python ×1