Intermediate Python Working with Files "Title Encoder" Project Help
I'm almost finished with the Intermediate Python course, but I'm stuck on the last project, for the Working with Files module. Here are the instructions: "You are given a file named "books.txt" with book titles, each on a separate line. To encode the book titles you need to take the first letters of each word in the title and combine them. For example, for the book title "Game of Thrones" the encoded version should be "GoT". Complete the program to read the book title from the file and output the encoded versions, each on a new line." This is what I have so far: https://code.sololearn.com/c39A0a5A8a2A As you can see, I managed to get the first letter of each word in each title, but I don't know how to combine each title's code. Instead, I just have all the first letters of all the words of all the titles in one long line, one character at a time. Any help would be very much appreciated.