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 gave up and look at the others'solution .
Surprise : the second one is very similar to mine
Strange !
Hi
I'm waiting for the python version to rank this kata , but IMHO it must be approximatively ranked as part II.
A bit more complex, but same mechanisms are involved.
Hi
No indications about the number of random tests : timed out with 100 passed tests ?
Hi
didn't know this sum function on lists , need to explore
Forget, passed after rereading
Sorry
Hi
sorry, but unable tu understand the results of the task "buy" even with the tries of explanation below :
when you begin with harvested apple and buy orange , have you only orange at this moment or apple+orange in your stock ?
A random tests on negative rounded values failed. Another try with same code has been successfull.
I saw that it was already previously araised, and recently annouced as solved.
Still an issue ?
Why not. Pls could you write a solution corresponding to your proposal
Hi ,
just a remark about the desciption : as you clearly separate 2 cases : a==0 and a!=0, y'are not obliged to repeat if a==0 for the different subcases in the first case
Hi
I understood that in case of equality in damages between 2 weapons we have to select the first in alphabetic order ,
with python I got an error with that order and no error with the reverse alphabetic order
c'est bien ce que j'avais cru comprendre :)
with a little help from ChatGPT , I succeeded to obtain the result I wanted with a 2-stairs implementation of closure , one for the class and yours called by the first one
what do you think of the result ?
without any connection : why did you use the term 'frenglish' in the discussions below ?
not at ease with decorators.
must dig
thanks for this generic helpfull closure.
Thanks for the quick answer.
Simple concept, never used before on my side, but efficient, that takes more time than a simple print, especially to identify specifically both called methods and arguments.
I'm just at the beginning of this very funny kata, as an objects' fan I appreciate a lot.
At first I was trying to find more examples to see how atoms, added outside of branches are treated, especially how to deal with their id after the molecule's unlocking, but I had forgotten the possible use of the attribute atoms to memorize the creation's order.
Loading more items...