結果 : python extract first n characters of string