Question: Note: Please only use standard python covered in class lectures. Python libraries such as pandas, numpy are *not allowed in your work. 2. Write Python

Note: Please only use standard python covered in class lectures. Python libraries such as pandas, numpy are *not allowed in your work. 2. Write Python code that prompts the user to specify a csv filename, read grades from the file, compute and output simple statistics of the grades. The input csv file should have the following format (.e. student ID, points): 003519342,22.5 007053869,20 005255827,18 006034733, 23.5 005467659,23 Process all the records in the file and print out the following information. Also, save the same information to a file (results.txt). # of students in file: 5 Average of grades: 21.4 Highest grade: 23.5 Lowest grade: 18 Your code should be able to handle any input csv file with any number of student records. It should handle exceptions like incorrect filename (or file not found), empty grade file and non-numeric student ID and/or grade values. (15 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
