結果 : string take only first n characters python