Question: Create a program in Python that reads all of the numbers stored in a file (provided in Blackboard as numdata.txt) and calculates the total (sum)
Create a program in Python that reads all of the numbers stored in a file (provided in Blackboard as numdata.txt) and calculates the total (sum) then displays the value as total points to screen. Next, have the program calculate the average score then display the value as percent score to screen. Next, make sure the program handles IOError and ValueError exceptions. Numdata.txt has these numbers in line of their own in text file. 78 93 85 100 81 76 94 77
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
