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 find the description still confusing. If I naively think of paste errors why can the output still contain "BBBB!BBBB!"?
This comment is hidden because it contains spoiler information about the solution
Ok, fixed that as well. I somehow interpreted this as number of rolls per side, not total for all sides of the die.
I have added a
show
method to the test suite. The behavior should now be closer to the Java version.This fun Kata deserves more translations. I put together a Python translation and would be happy about comments and feedback.
For this nice Kata I added a Python translation and the corresponding tests. I would be happy about any comments, improvements, etc.
I thought of this as well and found that dice can have two faces (https://www.scienceabc.com/eyeopeners/many-faces-can-die.html) but that depends if you follow their argument.
In any case, thanks for the feedback, I will work on some translations of the other Katas now. For the next one I will aim to be much more specific about the input and output parameters.
Especially the first one is quite similar. I must admit before authoring this Kata I did not really search for similar ones and then only in Python.
My focus was on the aspect of the transformation from the input data into a vertical histogram, so the third one is quite different. The best way forward is probably to add a translation to the first two. I don't think I can make this one unique without simply making it more complicated/specific.
Thanks again for the feedback, this is my first Kata ever.
Thank you for the suggestion! I added a test case so that it is easier to figure the rules for white-space. Now the user can see from both the example output in the description and the test case the width of the columns.