結果 : print first n characters of string python