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.
Oh, yes! You a right!!!
Why did I write True if... else False?...
Another straightforward and concise code. I had two loops on mine which increased the run time. Nice one!
Use spoiler flag next time please, your post was visible in the homepage discourse.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
just another "god damnit why couldn't I think of that" moment on codewars
i think this is good approach to append a '_' on odd strings, makes it more readable than trying to handle it
List comprehension is slightly faster because it stays within the C binaries.
I did the same but created a new list, you are modifying the global variable which is blasphemy!
I didn't think that. My solution is 15 lines, with two loops and a list comprehension lol. Well, I still have to improve. I really liked this solution
smart
i thought mine was unique, we literally wrote it exactly the same !! lol
I dunno, doesn't seem very epic.
Totally didn't think to add the underscore at the beginning.
how does this work?
Loading more items...