結果 : loop through words in a string python