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.
This is awesome!
This comment is hidden because it contains spoiler information about the solution
Can someone please explain what's going on here to me? Thanks.
It's worth doing these kata just to see others' one-liners.
This comment is hidden because it contains spoiler information about the solution
I am a beginner in Python and I think this solution is clean and wise. Gotta remember ir when I solve my next Katas.
I thought the task asked for a language specific switch statement implementation. It's clever though, I give it that
Why did I force myself to write a ten-branch if/else statement... :/
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This is so evident. Why it only comes to my mind after I see it at other people's code?!
Nice!
Glad you liked it :)
and,
Thanks for the Info, I thought a comprehension always had to be in brackets. (I'm still a noob at this!)
Neat solution, I did not think to do it this way! +1 Clever
Also, you don't need the square brackets inside of
sum
.