Suppose there is a class Roster. Roster has one variable , roster, which is a List of
Fantastic news! We've Found the answer you've been seeking!
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 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.
Related Book For
International Economics Theory and Policy
ISBN: 978-0273754206
9th Edition
Authors: Paul R. Krugman, Maurice Obstfeld, Marc J. Melitz
Posted Date: