Question: Suppose there is a class Roster. Roster has one variable , roster, which is a List of tuples containing the names of students and their
Suppose there is a class Roster. Roster has one variable , roster, which is a List of tuples containing the names of students and their number grades--for example, [('Richard', 90), ('Bella', 67), ('Christine', 85), ('Francine', 97)].
Roster has a function findValedictorian that returns the name of the student with the highest grade. Find the valedictorian of the Roster object englishClass and store it in the variable valedictorian.
Step by Step Solution
3.37 Rating (150 Votes )
There are 3 Steps involved in it
Class Roster class Roster Variable named roster roster Constructor to initialize roster to r ... View full answer
Get step-by-step solutions from verified subject matter experts
