結果 : first n characters of string python