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.
Both your solutions work after fixing the issue below.
Fixed.
If you're talking about Python, then there is an issue below, so closing this one.
broken. no matter weather i use regex or count characters and append them manually, it still doesn't work. the random tests fail. please fix it. thanks
Please check translation and read comments before approving.
Python:
Approved!
Approved!
Go Translation
Go Translation
C# Translation
C# Translation
This solution doesn't cover the following case:
"10 shots and 2 beer". The result is 3 (1 + 0 + 2) instead of 12 (10 + 2).
Thanks for the notice, works now like intended.
I changed the text to make it more clear and I added this limitation just for the "challenge".
Loading more items...