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.
thank you ver much.
It's multiple variable assignment. Equivalent to:
WTF Will need a code to come up with this
Can you explain the first line of your code. This my first time seeing such code.
wish i could edit the code.
The new_text should be removed
Since before we can have a cake/cakes, the number of available available ingredients must be equivalent, multiple or greater the recipe(taking the recipe a what can make a whole cake).
Please can you explain code for me to grasp.
Especially the hits = (monsters - 1)
Suuuuuper good explanation, thanks a lot!
Have the same issue. How do you know what are the minimum requirements to get a cake? They didn't specify if it needs at least 1 egg, 100 milk, etc.
I don't get it. If I kill all the monsters with one punch, what monster could punch me back then? Why would I need to punch more than once at all?
You must do something wrong. Please read this: https://docs.codewars.com/training/troubleshooting/
Why my code does not work there everything is correct and in IDE checked not 1 time and in codewars constantly subtracts 1 hits in the code though should not do it
Fixed (in test suite, sample tests still wrong order. I'll fix this when I resolve the other issues.)
Seems there is a rounding issue somewhere, you miss one hit sometimes. Try to figure out when.
Fortunately I have been able to write my code;
It passed 97 test and failed 8.
Please can someone take a look at my code and tell me how to solve that.
Loading more items...