Question: In Python, show W e write a python program that reads a text fi le consisting of each students GPA followed by the students name.
We write a python program that reads a text file consisting of each students GPA followed by the students name. The program then prints the highest GPA and the names of all of the students who received that GPA. The program scans the input file only once. Moreover, we assume that there is a maximum of 100 students in the class.
Input The program reads an input file consisting of each students GPA, followed by the students name. Sample data is as follows:
3.4 Randy
3.2 Kathy
2.5 Colt
3.4 Tom
3.8 Ron
3.8 Mickey
3.6 Peter
Output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
