Write a statement that takes a variable named text_file that contains a file object and reads its contents into a Python list of lines. Store the resulting list into a variable named file_contents.
contents = list(open_file.readlines()) is a statement that takes a variable named text_file that contains a file object and reads its contents into a Python list of lines.