Python中如何求列表list的平均數

Python中如何求列表list的平均數 當列表list中只包含數字時,如何求取它的平均數:web from numpy import * a = [52,69,35,65,89,15,34] b = mean(a) print(b) 運行結果:svg 51.285714285714285
相關文章
相關標籤/搜索