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.
In Ruby "Run Tests"? Must be fixed now, could you please tell me if it works?
Having an issue running the tests I get:
"Testing is not defined"
Are we supposed to implement this or am I having a different bug?
Hope someone can help :)
Yes -.-
Well I would never write code like this in production.
But thats what codewars is for right?
I like all that elegant stuff but that's all there is to it.
Cheers.
You are welcome!
Thanks! BTW do you know that Guido "hates" reduce which has quite disappeared from Python >= 3...
Ah sorry, I misread it. It seems I also misinterpreted the meaning of issue :P
Aw well you are right, I didn't read the title I suppose. Maybe I should've got more sleep. Anyways. I like this because I like reduce.
Cheers
Please which language? Read the description again.
All the tests are right. Before posting an issue be sure that your program is correct. You could have posted a question instead of an issue:-) Tell me when you succeed.
Hey, my solution's output for the first test: {18,69,-90,-78,65,40} was:
[18,3,3,6,13,5]
instead of:
[18,3,3,3,1,1]
Isn't this correct? -90 and -78 are both divisible by 6, -78 and 65 by 13, and 65 and 40 by 5.