“以Python为舟”是“以Python为工具”的意思。 ... sum=0 for i in X: sum=sum + i print("总和是:",sum,"平均值是:",sum/len(X)) #注:len(X)代表X数组的元素个数这个程序 ...
確定! 回上一頁