I was wondering if there was any way to make a for loop go through a string word by word, rather then character by character. For example,
for letter in "Hello world"
it would print out
I was wondering if I could make it so that it would instead print out like
Any help would be greatly appreciated!