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.
better answer direct under the thread. ;-)
;-)
You've got to use the language's random number generator to create a randomly generated word/sentence so that the user cannot map the inputs (like my solution). You need to put your solution to this kata in the test cases (not example test cases) so that when you have a random number, you can check the user's solution against the actual solution.
E.G. (for Python)
EDIT: fuck
@Steffen
beat me to it :PCodeWars is for learning and improving. :-)
So have fun and become a part of the community.
And you will see, your next kata will be better. :-)
The input string should be random. So you have to generate this.
And then the assert-call must compare vs. your own solution.
Perhaps look in my tests or in the test cases of js-katas, that you have solved.
(On discourse there is the item "Show Kata Test Cases". Click on it and you can see, how other warriors created their random tests.)