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.
I think this is the best practice instead of using map() function that was used above
So intresting, if I checked it correctly, it in fact does not work if n > 10. For example for drink_string "10 beers, 200 shots" it returns 3 instead of 210. For drink_string "1 beer, 111 shots" it returns 4 glasses of water, so you'd be hangover for sure!
As I am a total newbie, can you please check it and explain why is that?