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.
true
Sorry about that, I've swapped them so they are now correct. I don't make Codewars Kata very often so I tend to forget the nitty gritties of creating one.
Thanks so much!
Thanks. I added 50 random tests and I fixed the typo in the description.
I got the exact same problem. It doesn't make sense.
Added the input ranges for the different tests in the description. Thanks.
Added performace tests for bigger numbers. Thanks for the feedback. Now, in all my subsequent katas, I will remember to check for performance. Again, thanks a lot.
I do not understand your last statement 'There is a big difference whether or not number is representable as a float'
My bad - Added some test cases for None returns. Thanks.
Sorry about that issue. I fixed it up by adding a solution function and then testing against that.
Thank you. Sorry to rowcased as well. There was definitely something wrong with the kata.
There must be something wrong with your code. I checked the random test cases and they seem to be working fine.
Other warriors have successfully completed the kata, so I don't think there's any problem with the kata.
The main reason I wanted to restrict imports was to see if anyone could solve the problem without using a variant of the gcd algorithm.
But, I have 'allowed' imports now.
Thanks for the response!
Sorry for asking, but how would I test for imports?
If it's against the codewars rules for you tell me, then never mind.
Thanks!
Sorry about that. I fixed up the problem!
Thanks!