Question: I need help writing this python code. Write a program that will read the numbers from the file numbers.txt , finds the average of the
I need help writing this python code.
Write a program that will read the numbers from the file numbers.txt
, finds the average of the numbers, and print the average of the numbers with a label to a file named output.txt. The average should be rounded to 2 decimal places. Your output.txt file should contain the following:
The average of the numbers is: 457.07
The numbers in the numbers.txt file are :
345
213
934
543
285
439
235
691
194
764
562
849
234
111
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
