I have a text file:
But soft what light through yonder window breaks It is the east and Juliet is the sun Arise fair sun and kill the envious moon Who is already
line.split() gives you a list which will be added to your lst list as a list object. Therefore rather than using lst.append(line) use lst.extend(line) for the correct output.