Question: Python: File I / O Assignment Name your file fileRW.py and function name fileRW with two inputs for the read filename and the output filename

Python: File I/O Assignment
Name your file fileRW.py and function name fileRW with two inputs for the read filename and the output filename and no outputs.
1. Included a docstring with function help and assignment information
2. Read ExData3.csv and store heading information and lists of 2 columns of data by columns
3. Function continues to asks user for input until it receives a positive integer for the number of data points to average.
4. Write to the output filename the heading information and average the number of data points requested for both columns of data.
Python: File I / O Assignment Name your file

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 Programming Questions!