Ad
  • Custom User Avatar

    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.

  • Custom User Avatar

    That is more clear, thanks. Sorry, I wasn't trying to cause trouble, I just didn't understand.

  • Custom User Avatar

    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.

  • Custom User Avatar

    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.

  • Custom User Avatar

    Yeah, oh, sorry, I see where to mark that now.

  • Custom User Avatar

    I am having the same issue

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    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.