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.
Please read this first: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution
And then the error message:
You have an infinite loop in your code (check that exact input in your IDE). Not a kata issue.
That's the case for most katas. If your function isn't pure, such errors are to be expected.
You are using a global variable:
correct_number
, which would just accumulate the data from last function call.You should put the declaration inside the function body to store only relevent stuff.