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.
imagine if it asks for nano seconds or an unit even smaller, the top solution is better cause it won't be much of a problem to edit compared to this one
There are people who can't do math, so...
Why isn't this solution best practice? It seems so simple and straight forward.
I know codewars doesn't use it but in Python 3.x,
map()
returns a map object (iterator) instead of a list object so uselist()
to convert the type.