Question: Phyton Write a program that writes the list of integers given below (num_list) to a file named numbers.txt, where each number is on its own

Phyton

Phyton Write a program that writes the list of integers given below

Write a program that writes the list of integers given below (num_list) to a file named "numbers.txt", where each number is on its own separate line. The program should then read "numbers.txt line by line, calculate the average of all the numbers stored in the file, and display the result

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!