• ###### idfacommented on "Power tower modulo m" kata

Done! C++ Fork

.

approved.

• ###### MusicLovingWolfcommented on "Mumbling" python solution

Thanks, I feel myself smart for getting to this myself.

• ###### Irons89commented on "Mumbling" python solution

Took me more than half an hour to produce like 15 lines of code for this!
But if you spend a couple of minutes to see how enumerate works, it all makes perfect sense.

• ###### ecolbancommented on "Mystery Function" kata

You have taken [00, 01, 10, 11], made a copy, reversed the copy, prepended each entry of the first list with 0, and prepended each entry of the copy with 1, and finally concatenated the two lists. But [00, 01, 10, 11] is not the correct starting point, [00, 01, 11, 10] is. This list is obtained by taking [0, 1], making a copy, reversing the copy, prepending each entry of [0, 1] and prepending each entry of [1, 0] with 1 and concatenating the two lists.

• ###### Azoz-focuscommented on "Mumbling" python solution

I hate myself I literally spent 2 hours trying to solve this, thinking im smart when I finally solved it until im faced with this

• ###### saudiGuycreated a suggestion for "Mystery Function" kata

python new test framework is required. updated in this fork

.

• ###### ecolbancommented on "Set Closure Generator" kata

Thanks. Fixed.

• ###### VDSurChauffecommented on "Mumbling" python solution

@RedIronRaven: practicing and learning about Python's many builtin functions.

• ###### leep01commented on "Mumbling" python solution

Could someone explain why ' * i for i ' is needed? What is it representing? Thanks

• ###### trashy_incelresolved an issue on "Number to Bytes" kata

Fair enough. You make a valid point: the two declarations specify the same memory layout, but your suggestion is more readable, idiomatic and portable (since it does not rely on variably-modified types, which e.g. MSVC does not support for now). My intent here was to work with variably-modified arrays, and also throw off codewarriors a bit by showcasing the little-known but perfectly valid syntax of functions returning pointer to arrays ;-)

I implemented your suggestion (remarkably, no solutions will be invalidated since the memory layout does not change). I am going to do the same thing for
another translation where I used this design as well.