結果 : python swap first and last character of string