I have a list of strings:
['Hello Yes', 'Good Now Order', 'Been There Before', 'Because']
I want to rewrite this as:
['Hello\nYes', 'Good\nNow\nOrder', 'Been\nThere\nBefore', 'Because']
So the \n goes into every space except the beginning or end of the string.
I have tried .split(' ') inside a for loop, but that gets messy and then unsure how to rejoin at the end.
str.replace