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 have the same issue
I usually write codes in way that works for me. most of times without any care about the being short or long. but here I saw most of best paractices are shorter codes.
to have a shorter and maybe cleaner code.
also can use map(str, n)
It's better to use if statement in one line.
this will not return a list in python 3. I'm not sure about python 2.