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.
I liked this one--fun to think about and solve. Nice job!
https://docs.codewars.com/authoring/guidelines/submission-tests/#general-guidelines
I will unpublish the kata so you can fix the issues. Feel free to republish after problems are fixed.
Yeah, I can see that being more appropriate. I was thinking that the paramater is technically a representation of a number, just not a base 10 number. I'll change it to input, though. That's more fitting, for sure.
This issue should be fixed.
I believe I have it fixed now.
This comment is hidden because it contains spoiler information about the solution
Oh, that's no good! Is it because I used the same class name and method for both the solution and starter code?
This comment is hidden because it contains spoiler information about the solution
Should be fixed now, thanks!
Solution setup signature still expects the argument to be
int
, while it should bestring
now.I have rewritten the Kata to include the full range of base 13 numbers. I appreciate all the feedback!
You're both right, of course. I understood while writing it that you would never be able to get every value, but I thought it might be better for simplicity's sake to stick with integers. I'll gladly rewrite it to include the true range of base 13 numbers and change the input into a string.
Also, it is impossible to test every base 13 number, since numbers represented in base 10 don't have enough digits.
It does not really make sense to pass in an
int
variable and "asume it's in base 13". Values do not have really any base associated with them. They are just values.Number base is a feature of a representation of a value. You can have a decimal representation, a base thirteen representation, a binary representation, but these are not
int
really.Loading more items...