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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!