首先需要數據源,這裏隨便寫了一個: nums = [1,2,3,4] 求均值和中位數均可以使用numpy庫的方法: import numpy as np #均值np.mean(nums) #中位 ...
確定! 回上一頁