結果 : get first n letters of string python