Ad
  • Default User Avatar

    I know this comment was left a while ago but the reason is because using the program is taking to long when using the while loop and random module.

    The random module isn't great to use in this case it's not the most reliable. You're basically throwing randoms so may get the same results a few times. The while parameters is a little tricky as well.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Use the function's argument to get the input value, don't use input(). Not a kata issue.

  • Default User Avatar

    I'm getting EOF error for the input line, although when i run it on my pc it works okay. so what's going on here?

  • Custom User Avatar

    The kata is fine, your code is not. Your answer has a trailing space.

    #                                          here
    #                                            v 
    'ehT kciuq nworb xof spmuj revo eht yzal .god ' should equal 
    'ehT kciuq nworb xof spmuj revo eht yzal .god'
    
  • Default User Avatar

    There is an issue with this kata. I tested on my code editor and it was right. The Kata is not recognizing my answer as correct.