結果 : get the first x characters of a string python