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
You don't need the
kilos>=1
,kilos>=3
,kilos>=5
,kilos>=7
,kilos>=9
andkilos>=11
conditions as the previousif
statements cover that.Reminds me of this.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thank you both. Fixed!
Thank you! Nice kata. Cross-link added. :)
For Python, I switched to version 2.7.6 to bypass that.
Yes, they seem broken. No wonder there is only one Java completion of this kata.
E.g.:
[E, N, E, W, S, N, N, N, S, W]
✘ arrays first differed at element [0]; expected:<[S]> but was:<[N]>
Description says:
if the list has an even amount of numbers, return the average of them for the median.
It might be more clear to say:
if the list has an even amount of numbers, return the average of the two numbers in the middle.
This comment is hidden because it contains spoiler information about the solution
Title says: "Converting from base 10 to 16! Dare you?"
Description says: "The target is practising conversion 'by hand' from base 16 to 10."
This comment is hidden because it contains spoiler information about the solution
In the kata's test fixture (Java), both color and state attributes are being set and retrieved directly, not through their setters and getters.