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.
What do you mean? I don't even understand how this even works.
Your solution is working fine but you have to take care of None as well( accd to question).
Agreed.
How would you improve it?
I couldn't agree more, I spend way more time looking over other's code than writing it.
I can always learn better ways to do the simple stuff.
It works fine in Python, could you clarify what's your problem about?