Informatics Practices
Related Questions
Write a Python program to display a bar chart of the number of students in a class. Use different colors for each bar.
Sample data:
Class: I, II, III, IV, V, VI, VII, VIII, IX, X
Strengths: 40, 43, 45, 47, 49, 38, 50, 37, 43, 39Write a Python program to display a horizontal bar chart of the number of students in a class.
Sample data:
Class: I, II, III, IV, V, VI, VII, VIII, IX, X
Strengths: 40, 43, 45, 47, 49, 38, 50, 37, 43, 39Write a Python program to plot the function y = x2 using the Matplotlib library.
Name the various methods used with pyplot object.
