Question: Write a Python program to count the number of students of individual class. Each item below shows a class name and one of its students
Write a Python program to count the number of students of individual class. Each item below shows a class name and one of its students score Sample data: classes = ( ('V', 1), ('VI', 1), ('V', 2), ('VI', 2), ('VI', 3), ('VII', 1), ) Expected Output: {'VI': 3, 'V': 2, 'VII': 1}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
