結果 : first x characters of string python