結果 : how to loop through each word in a string python