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.
Nice kata. It's kind of funny, the harder part for me was figuring out how to tell if there were numbers in the string, not the actual acronym creation.
That is more clear, thanks. Sorry, I wasn't trying to cause trouble, I just didn't understand.
okay, but the instructions say digit, not position. Digit could be position, or it could be the number, too. The instructions don't make that explicitly clear, so the number is how I interpreted it.
I have a problem with the example. The rules state that even numbers should be multiplied by 3, and odd numbers by 1. The given example contradicts these rules. The first digit, 4, is multiplied by 1, but 4 is an even number and therefore should be multiplied by 3. The fourth digit, 3, and the last digit, 9, are both multiplied by 3, yet they are odd numbers. Please tell me if I am misunderstanding the instructions.
Yeah, oh, sorry, I see where to mark that now.
I am having the same issue
This comment is hidden because it contains spoiler information about the solution
I am trying to submit my solution, but the submit tests aren't working. My solution is fine, they passed the initial tests, but when I try to submit, I get:
length_of_sequence': undefined method
-' for nil:NilClass (NoMethodError)from
block in ' from
block in describe'from
measure' from
describe'from `
'
This looks like a problem with the test cases for the submit to me, because it's saying undefined method for nil. It's weird because other people have completed the kata.