結果 : python string keep first n characters