Question: In python, Write a program that reads a file (prompt user for the input file name) containing two columns of floating-point numbers (Use split ).
In python, Write a program that reads a file (prompt user for the input file name) containing two columns of floating-point numbers (Use split). Print the average of each column. Use the following data forthe input file:5 pts
0.5
0.5
0.5
0.5
The output should be:
The averages are 2.50 and 0.5.
Your code with comments
A screenshot of the execution
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
