結果 : how to traverse a string backwards in python