結果 : get first x letters of string python