結果 : how to slice a string from end in python