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.
grah
Yes, i know. I assumed it is returning None because for example age(70, 4.666666666666667): in line 4 "julie / y" results in 14.999999999999998 instead of the expected 15. Thus there is no match to "== brother" in the same line and therefore the if-statement fails and there's nothing to return. Am i mistaken?
That's not why your code fails. Your code is returning
None
for some inputs.Tests failing to lack of rounding (f.e. 14.999999999999998 instead of 15). Please help!
The initial solution should have
#include <string>
Description should be language-agnostic
Rounding requirement in test setup should be removed after all languages have been updated
Lua:
floating point comparison should be enforced
CS:
floating point comparison should be enforced
JS Node 18. (
mocha
+chai
) should be enabledfloating point comparison should be enforced
Approved
python new test framework
This comment is hidden because it contains spoiler information about the solution
If the stations are arranged next to each other, in positions [0, 1, 2, 3] is [1, 2, 3, 4] a valid conveyor belt configuration?
hm. not sure how we can change the leveling after a kata is accepted.
I think that this kata should be 5 kyu, because of huge amount of test cases
Loading more items...