結果 : first n characters of a string python