Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started