plt.hist(percentage, number_of_student, histtype='bar', rwidth=0.8) code example
Example: python matpotlib histplot
import matplotlib.pyplot as plt
plt.hist(x) #x is a array of numbers
plt.show()
import matplotlib.pyplot as plt
plt.hist(x) #x is a array of numbers
plt.show()