結果 : how to delete last element in string python