Suppose this string:
The fox jumped over the log.
Turning into:
sentence = "The fox jumped over the log." word = sentence.split() result = "" for string in word: result += string+" " print(result)