Question: python The file you are reading contains a randomly generated list of numbers (it changes each time you run the tester). Each line within the

python python The file you are reading contains a randomly generated list

of numbers (it changes each time you run the tester). Each line

within the file contains one number, as in the example below. Your

The file you are reading contains a randomly generated list of numbers (it changes each time you run the tester). Each line within the file contains one number, as in the example below. Your code must read each line, convert it to an integer, and analyze the contents, including: - The number of entries in the file - The total (sum) of all the entries - The average of the entries The last step is to write the three computed values above to a second output file, as shown below. The test case expects your code's output to match EXACTLY. You must print count, total, and average on separate lines, with the exact labels shown (including the colon) in that exact order for the test to pass-precision matters with files since future program must know the format before reading the data. The names for the input and output are variables at the top of the starter Python file. fimport random

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!