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 the first two list comprehensions are easy enough to read. My only thought was, it's iterating throught the source list twice just to break it into evens and odds.
As I remember, Python creates .pyc files after first import and then will use cache without real import, so it doesnt influence perfomance a lot, but sorting the same string at every iteration does.
Is it a quest to find the shortest and the most unreadable solution?
Ok, it works, but it's not supported code in real projects. Please, dont repeat this, it's really bad practice.