結果 : first n chars of string python