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.
duplicate: https://www.codewars.com/kata/5b7dfd8cbfae24e5f200004d
Great solution but variable naming and formatting could be improved to, combined with a docstring, turn it into really good production code.
Ruby 3.0 should be enabled, read this to learn how to do it
Please organize the structure of test fixture as following (although it has been mentioned in the attached link, I'm repeated here again)
Fellow grammar police agrees.
Here comes the grammar nazi... python style guide requires 4 spaces of indentation
https://www.python.org/dev/peps/pep-0008/#indentation
Thanks!
Hi this looks good, have approved it. Thanks!
Ruby translation kumited -- please check and approve!
OK, seems to be fixed now :-) (moved something to the wrong place)
This comment is hidden because it contains spoiler information about the solution
Errr... You just invalidated all the solutions. Is that intended?
Updated the description a little, and moved the
DIGITS
dictionary to the preloaded section.DIGITS
dictionary moved to the preloaded section.thanks for the translation!
True, but to be honest I did not have any other idea how to do it (except brute force) =/
Loading more items...