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.
Ahh that makes sense, thanks!
Sorry. I didn't thought that I'd need to use the spoiler flag when commenting in the soulutions section.
Use spoiler flag next time please.
This comment is hidden because it contains spoiler information about the solution
Clever solution.
nicely done :)
If it was >= then v could take the v = 0 value in the condition and then you would indeed have a division by 0. Without the = sign, the condition goes to the else part and no division by zero is performed.
this gives error when v is 0. should be >=
I really like how you have to be careful in following the directions in the description. Better than a standard replace kata, IMO.
someone didn't like this
what metode is this?
regex?
because the tests are shit and do not assert correctly floating point values...
edit: now it would work
This comment is hidden because it contains spoiler information about the solution
Thank you!
Thanks!
Loading more items...