Suppose I have a file PythonExam.txt with the variable testFileObj pointing to this file. I also already have the correct import statement. I've read the file into a variable called testFileCont. What would be the line of code to divide the long string into a set of lines into a variable called lines_of_file? Provide just the assignment statement to do this.



Answer :

Other Questions