結果 : get the first n characters of a string python