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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Python fork
Use spoiler flag next time, please.
This comment is hidden because it contains spoiler information about the solution
The description should specify in which order the exceptions are evaluated and what error messages should be used. In this case,
gender
is evaluated first, thenweight
, thenduration
.else is unnecessary here
That depends entirely on your language.
Also, please stop complaining about kata ranks being off by one ( not you specifically, just everyone ). Changing ranks is expensive, not worth it, and not going to happen. Just enjoy the cheap points.
Completely agree, I tend to use else for readability. Thanks for commenting!
You don't actually need the else statement here.
If the first return statement runs, the function will be exited, and the second return statement will not run.
That said, I can see why you'd include the else statement for readability.
its like the compound intrest formula
you have to iterate problem based on the weight you ger week by week
Having the same problem right now..
In the technical details section/paragraph there is a typo for the word formula. It is spelled "formulae" in the kata
Are you sure this kata is ok? For M 250 5 I got "231.25 should equal 231.8". But when I calculate this on my calculator I also get 231.25, there's no way to get 231.8 with those inputs so I think those tests are off.
Loading more items...