結果 : reverse words in a string python using for loop