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 prefer 6 - more people will try it.
So does that mean it will be a 5, not a 6? I'm slightly surprised.
I modified the first fixed test so that if the pawn moves down the board it will have a capture, which will cause a failure.
waaay off, I was amazed when I confirmed this solution myself.
Fixed it!
Codewars challenges do not use
unittest
, they use custom testing framework. You can see Python authoring guide and authoring examples for some ideas how to build tests in Python.jubilado
Please stop reposting the same kata repeatedly, making only minor tweaks each time.
The kata has been reworked. The challenge is different from what is was before. Moreover, error messages have been included to guide users. I hope people enjoy this version.
Oh yes you're right. I have removed those from the dictionary. Thanks.
Nice :) fixed
I'll republish first of April 2025.
This comment is hidden because it contains spoiler information about the solution
Thanks, I'll combine both other ideas, without extreme performance requirements.
If you have the potion in stock and somebody wants it, you provide it. However, when you need to construct one, and the alchemist does not know how to compose it, you cannot compose it. This is a case I will add to sample tests.
Loading more items...