結果 : reverse word function in python