結果 : write a program to reverse a string word by word in python