Question: I need a solution for my programming lab, in python code data1.txt contains an unknown number of lines, each consisting of a single integer. Write
data1.txt contains an unknown number of lines, each consisting of a single integer. Write some code that creates a file named A file data2.txt and copies all the lines of data1.txt to data2.txt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
