Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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.
This comment is hidden because it contains spoiler information about the solution
Use the function's argument to get the input value, don't use input(). Not a kata issue.
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?
The kata is fine, your code is not. Your answer has a trailing space.
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.