import numpy as np
n=np.array([34.5,36,37.8,39,39.8,33.6])  #创建“单价”数组
print('数组方差：')
print(np.var(n))
print('数组标准差：')
print(np.std(n))
86cf9da78be80da8b6874df720becd124829c18d
<mask token>

<mask token>
print('数组方差：')
print(np.var(n))
print('数组标准差：')
print(np.std(n))

<mask token>
n = np.array([34.5, 36, 37.8, 39, 39.8, 33.6])
print('数组方差：')
print(np.var(n))
print('数组标准差：')
print(np.std(n))

import numpy as np
n = np.array([34.5, 36, 37.8, 39, 39.8, 33.6])
print('数组方差：')
print(np.var(n))
print('数组标准差：')
print(np.std(n))

import numpy as np
n=np.array([34.5,36,37.8,39,39.8,33.6])  #创建“单价”数组
print('数组方差：')
print(np.var(n))
print('数组标准差：')
print(np.std(n))