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 very clever i solved in two lines of code but this is one line this is better and i appreciate it
thats wicked!
You can circumvent having to slice [::-1] twice by adjoining the names with an ampersand, and using the replace function to substitute all but the last ampersand. See my solution for details.
I always think guys who make those codes are robots... (and i always take 3 minute per lines for understanding...)
I am curious that if such short coding has benefits to future works? even reading is complicated!
insanely clever
Wow. Amazing!
Great idea reversing the string! I learnt something new today.
And I faced the same problem several times before.
Great idea!! Thanks!!
Python won't execute the for loop if names is empty and will return empty list. Someone correct me if I'm wrong.
i get the code but i dont get why this returns an empty list if names is empty.
can somebody pls explain :-)
i knew i would find a divine one line solution but this is just too holy
I'm buying your "Mastering Strings for Python Psychopaths" book
This rollercoaster-like solution burns my heart.
yes, very good point. but it only effects it if the comma is in the last person in the array.
Loading more items...