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 like yours because it is simple and easy to read.I also chose this approach to solve but i did not know about the isinstance at that time.i was using the type function to see if type is str then return unkown but it didnt work.
Mathematically, it the same, but sometimes, we lose sense with over-refactoring.
Beautiful