importmatplotlib.pyplotasplt# data to display on plotsx=[3,1,3]y=[3,2,1]z=[1,3,1]# Creating figure objectplt.figure()# adding first subplotplt.subplot(121)plt.plot(x,y,color="orange",marker="*")# adding second subplotplt.subplot(122)plt.plot(z,y,color="yellow",marker="*")