给定以下两个列表a和b,分别由列表a,b构造两个一维数组x,y。绘制由x和y构成的折线图(x为横坐标,y为纵坐标)
a=[1,2,3,4,5,6] b=[12,39,36,25,4,41]
import matplotlib.pyplot as pltplt.plot(a,b)plt.show()