1.

Draw the following bar graph representing the number of students in each class.

Answer»

import matplotlib.pyplot as plt

Classes = ['VII','VIII','IX','X']

Students = [40,45,35,44]

plt.bar(classes, students)

plt.show()



Discussion

No Comment Found

Related InterviewSolutions