結果 : get first n character of string python