結果 : first n characters python