結果 : first n letters of string python