結果 : select first n characters string python