numpy result = [ [0, 10, 20, 30, 40], [10, 23, 33, 43, 53], [20, 83, 23, 55, 33], [30, 93, 44, 22, 55], [40, 72, 33, 44, 66]]data = np.array(result)#把一个列表变成矩阵print(data[:2, 1])#取矩阵的前两行的前2个数,结果是[10,23] matplotlib在柱形图上方添加数值 for a,b in zip(x,y): plt.tex…