Question: Write a Python Code: Table containing 3 columns are stored in there separate .txt files. How to read each file to create one report? One
Write a Python Code:
Table containing 3 columns are stored in there separate .txt files. How to read each file to create one report? One algorithm Create a function that accepts a file name of three txt files and reads the data and returns a 1-d list Call the function by sending the filename for each report final output should print the 3 columns in parallel with the sum their numbers.
Textfile 1 contains no 1 to 10 listed in column
textfile 2 contains no 11 to 20 listed in column
textfile 3 contains no 21 to 30 listed in column
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
