来源:https://stackoverflow.com/questions/48865040/pythonic-reduce-with-accumlation-and-arbitrary-lambda-function 标签 python lambda functional-programming reduce accumulate