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 I need help writing this python code. Write a program that, 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!