結果 : reverse each word in a string python without inbuilt function