結果 : take first x characters string python