Because you’ve defined a hi target variable with the as search phrase, now that variable holds a reference on the file object by itself. You ensure this by printing the article and its memory handle. Last but not least, the for loop iterates about the lines and prints this content https://domypythonassignment92642.win-blog.com/8190085/the-basic-principles-of-can-someone-take-my-python-homework