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.
Old solutions get invalidated if a change is made to the test suite for the kata (no honor is lost)
thank for solving this issue quickly, however there still remnants of the number 39.
I removed shadowing the conversion to float and I don't see any other issues. Why should rounding be removed if the description explicitly says "The answer should be a number rounded to 3 decimal places."?
I made the changes, is it correct now?
akar-0 rounding the answer is part of the kata
done akar-0
union
is a weak keyword in rust, therefore it shouldn't be part of the solutionakar-0 do you think the translation is ready to approve now?
floating point number comparison can be kinda iffy. Not sure if we need this because of the rounding but if you think so I will add it.
Edit: just solved that challenge as it wasn't very hard
There is no builtin function to do
round(number, n)
in rust. Also what do you mean by assert within a margin?Done