結果 : python generate a string with n characters