Question: Need this in PYTHON. Thank you. Write a program that reads a file (prompt user for the input file name) containing two columns of floating-point
Need this in PYTHON. Thank you.
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 for the input file: 1 0.5 2 0.5 3 0.5 4 0.5 The output should be: The averages are 2.50 and 0.5.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
