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 zero idea what the question is asking. What is the inputted value supposed to do? I tried returning what the actual cases were but but they're hidden so I don't know what to even do.
I actually liked this kata a lot because it actually explained how it works unlike other katas where you would have to use google to find everything.
I have never been so ashamed of my code before, and then I checked the answers and I have crippling depression now.
I actually enjoyed this because it taught me something new about Python, that you can make incredibly ugly code that will actually work.
Tip: you can shorten array and element :)
I don't understand the description at all lol