Nice one. Thanks for you reply. Clever solution
Why though? But was fun to scroll, must say that
this is madness. i love it!
Why does this work with no function/return statement? Could I do this with other katas or is there something about this kata that means a function/return statement isn't necessary? Thanks
It's not a hard work but a clever work for that the author need to code and copy the result which cover the test cases.
So it's a good job.
If it bothered u, u can just scroll it down and pass it for only 3 seconds.
But I'd like to see the real code producing the dict.
This comment is hidden because it contains spoiler information about the solution
HAHAHA I respect you xd for taking the time to write all that code
Nice trick ;-)
He uses the numbers generated in the Range to determine how many times to Repeat 1 in each consecutive resulting array.
yeaa same logic as u can't approve your own authored kata ~~
Same thing as in the previous case (i.e. I can't approve "my own" translation). IMO this is a bug. Regards, suic
thanks I've alr asked one XD
I can't approve this. It is consedered to be my own translation... :O I guess you can't do it either, so I would suggest asking one of the admins to approve. Regards, suic