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.
Not related to the solution itself, but just wanted to clarify that we'd actually be making an initialism here, not acronym.
The difference is that an acronym must be letters that create a word, such as (Hats Are Mad = HAM) since HAM can be said as a word. An initialism wouldn't be pronouncable, such as (What You See is What You Get = WYSIWYG). It's a common misconception, so no worries. Just wanted to contribute a little English nerd info. =P
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.
CoffeeScript translation published.
I edited the description, as well. I hope, this is now more comprehensible.
I had to re-read this one a few times.
Added into JS and Python (hope Christian is ok with them) :)
I think it was rather clear, also given the example right down below, but not being a native speaker, I could not say for sure; I just edited the description a bit to make it less ambigous: let me know how do you read it now :)
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 think, you misunderstand the description.
The position in the number is relevant. First digit (= odd digit) is 4, second digit (= even digit) is 0, and so on. It's an alternate multiplication with 1 and 3.
it's multiplied based on the position of the number and not whether the number is odd or even.
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.
Is this solved yet? Just curious :)
I am having the same issue
Loading more items...