>>>digits = [1,2,3,4,5,6,7,8,9,0] >>>mid(digits) 0 >>>max(digits) 9 >>>sum(digits) 45 转载于:https://www.cnblogs.com/zhouxiin/p/10851204.html