import matplotlib.pyplot as plt
cs=[380, 340, 350, 320, 330, 340, 360, 350]
plt.hist(cs,bins=[320,340,360,380],rwidth=0.95)
plt.show()