In [41]: a=[1,2,3,4,5,5,6,6,7,8,8,9,9] # list类型数组 In [42]: b=nu.mean(a) #调用numpy.mean方法计算数组元素的算术平均值 In [43]: b Out[43]: 5.615384615384615 In [44]: b=nu.var(a) # 调用numpy.var方法计算数组元素方差 In [45]: b Out[45]: 6.2366863905325447 In [46]: b=nu.diff(a) # diff…