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.
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.
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.