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.
You should post an issue when you are sure of your code and then think that there are a flaw in the kata but not to ask if there is a flaw in your code:-) About more than 50 guys passed the kata in Python so I am sure that there are no errors in the kata. Furthermore I don't have enough time to look at your code, sorry.
What do you think your program will do if the word has some duplicate letters?