Question: in pythonm grades.txt contains an unknown number of grades (one per line). Your program will create an output file named grades_out.txt. The output file will

in pythonm

grades.txt contains an unknown number of grades (one per line). Your program will create an output file named grades_out.txt. The output file will contain a letter grade for each numeric grade in the input file, followed by a histogram of grades using asterisks. Be sure to catch all exceptions (file does not exist, invalid data) and display an appropriate (different) message for each exception type. If an exception occurs, report it and end your program gracefully.

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!