Question: 1) Complete the following script so that it will open the text.txt file to read and print each line. In the end the file will
1) Complete the following script so that it will open the text.txt file to read and print each line. In the end the file will be closed.
fn = ___________ (r"D:\data\test.txt"_____________, )
for_____________ in _________________ :
print aline
fn.______________
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
