Question: Need help writing a short python code. Python 3 only please! Assume that a file containing a series of integers is named numbers.txt. Write a

Need help writing a short python code. Python 3 only please!

Assume that a file containing a series of integers is named numbers.txt. Write a program that calculates the average of all the numbers stored in the file.

file is called AverageNumbers.py

Input numbers are

4, 8, 79, 24, 35, 100, 93, 45, 75, 33

Output should be 49.6

Thank you

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!