Question: Write Python program that reads all of the numbers stored in notepad file numbers.txt using the For loop, calculate their total and average, include
Write Python program that reads all of the numbers stored in notepad file " numbers.txt" using the For loop, calculate their total and average, include IOError exceptions that are raised when the file is opened and data is read from it, and include ValueError exceptions that are raised when the items that are rad from the file are converted to a number.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
