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! How do you bench such things? Can you give an indstruction on how you did this particular case?
you're actually returning a new string object here, while the problem description is asking you to return the same string in a mutated form.
You can simply add '!' to do that.
Nice solution though!
This comment is hidden because it contains spoiler information about the solution
Nice.Everyday I get more proof that regular expressions are really powerful.
Not a suggestion.
This makes no sense as a return type, I'll fix this but it will break all the solutions. So if anyone objects let me know.
Random tests:
Expected: 'You should pay £30399.600000000002 in tax'
No, you apply the process to each word, not the entire string. The description is correct.
Quote from the kata description:
...returns the same string with all even indexed characters in each word upper cased, and all odd indexed characters in each word lower cased...
With the re-written descipriton it mentions rounding to the nearest pound - in the test cases it doesn't seem to like the results rounded.
It means brackets, more specifically these ones ==> ()
Hi xDranik, really liked your kata, however this felt a litle too easy for a 6 kyu
Thank you Hannah!
Hey. Just couple of typos I noticed ... "salery" in the first line and "expect" rather than except in the last. Hope that's helpful :)
I can't read spoilers.
resolved
Loading more items...