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.
sure, fine
Isnt a "not implemented" a suitable way to signal, well, a lack of implementation in the solution stub?
Sample code shows
raise NotImplementedError
but description mentions (and tests expect) aValueError
Description is lacking a proper title, details of the task, explanation (e.g. what line?), examples.
maybe put an example, so somebody knows how to output it correct.
ok
Don't round, use approximate equality.
Duplicate of https://www.codewars.com/kata/5b997b066c77d521880001bd
(The proposed beta kata has a clearer name and a link to the relevant formulas. I'm not sure whether this is a strength or a weakness, though.)
The test expect a
TypeError
forbool
, butbool
is an integer type in Python.