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.
There's no way to reliably check for them without either some false negatives or some false positives, so we live with the latter.
Which is... not much of a problem anyway, you can always rename your variable to something which does not trigger the code content tests.
Looks like it's fixed?
How did you do it, please? (I think you use a mthod I do not know for now) :)
In python I'm already disabled all module imports. I think it much better than source code check.
I think it's ruby.
It seems all right now, thanks
Do you have any ideas how to disable Random in Java?
I don't know for ruby, but the python version works perfectly well. Read carefuly the description: you have function
one_two
(oneTwo
for Java)Also for the python one. I think this issue is in general.
This comment is hidden because it contains spoiler information about the solution
Because there was an error in
oneTwo
function. Now it fixed. Try againFixed
Sorry. I need to spend more time to review translations. I've fixed description and oneTwo in Java
The preloaded method
oneTwo()
actually returns the solution.one_two_three': undefined method
oneTwo' for main:Object (NoMethodError)from
block in <main>' from
times'from `'
The instructions give a function 'oneTwo' but this function does not exist in the Ruby version, the function is actually 'one_two' this is misleading.
Especially since "global" variables in Ruby should be prefixed with $ and this is not the case with this kata.
My solution was accepted without the use of the this function, because I saw no way to use this function until solving it and seeing the solutions that used the given function.
It was a challenging kata! First to understand the rules, then to code it, then to refactor to make it concise ;-)
Thanks!
Loading more items...