Question: PYTHON PROGRAM ONLY Assume a file containing a series of real numbers on each line. ( This file is attached alongside this document to the
PYTHON PROGRAM ONLY Assume a file containing a series of real numbers on each line. This file is attached alongside this document to the assignment on Brightspace. Write a Python script that will reads all of the numbers from said file and reports both the sum and average of those numbers to the terminal. If the file does not exist, the program should handle the exception gracefully by informing the user of its absense before closing without error.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
