This code will print out the lines found in the file. First, the code opens the file in read mode and then calls the readlines() method on the file handler object to get a list of lines. Next, each line in the list is printed. Finally, the code prints a line that says "lemon's snippet'.
with open(filename, mode="r", encoding="utf-8") as file_handler: lines = file_handler.readlines() for line in lines: print(line) print("lemon's snippet')