結果 : traverse a string backwards python