結果 : print first and last letter of string python