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.
Me too. Maybe it's just a wrong explaining of the excercise...
OK ! I understand now.
I didn't get the cumulative notion for each turn.
Assert Kata.game(3,2) == "Joe"
And so on.
I don't understand the first case too...
For me, the winner should be Mike.
This statement makes no sense, and has nothing to do with solving the task.
Issues without relevant content are not actionable issues, non actionable issues are not issues.
i agree.
Then you should post your code with a spoiler tag in the comments because Python version is working correctly.
When you receive empty strings do you return
""
or"0"
? Because it seems you're returning the former instead of the latter one.Paste your code, mark your post as having spoiler content. Use proper markdown
I did solve the kata with no problem in python.
Fixed the swapping for Java. It still lacks sample tests and random tests tho.
language?
It seems that expected and actual are swapped. So the first would be your output while the second one is rather the expected value.