String Python usuń białe listy i nowe linie

' '.join(myString.split())
Index out of bounds