Python 中sum函数的多种用法一、Python自带sum() 1. sum(iterable[, start]) :iterable——可迭代对象,如: list、tuple、set 等;start——固定相加的参数,默认为0。 2.
確定! 回上一頁