Alice has a file called "books.txt" with all the books that she needs to read for her class. Her professor added another book to the list, so Alice wants to add a new line to the file. Below you can see her code.
However, Alice made a mistake and got a result which was absolutely not what she had expected. Can you fix her mistake?
Don't worry about closing the file here, it will be done under the hood.