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.
My apologies, I didn't express my self clearly enough (I was typing it at 3am). What I wanted to say that: this code is much clear and easier to understand than "oneliner". When you have a team of 10 developers working togather it is imortant so everyone understends code quikly.
Thank you for your comment, it was useful!
As a developer I would say this is one of the closest code that I would like to have submitted by my employees.
The one line code is not readable from first glace and not self explanatory.
This comment is hidden because it contains spoiler information about the solution
it works in python 2, but not in 3
Can you please publish your code? This solution works fine for me, so I'm even eager to know what is the reason it doesn't work for you.
This looks like a great solution, however, I tried this on my own machine and got the following error:
Traceback (most recent call last):
File "", line 1, in
TypeError: translate() takes exactly one argument (2 given)
Is there a piece of the solution missing?
I can't believe this could be done in so few lines. @warwickwang - would you mind walking us through your thinking here?