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.
fixed
Typo in description: '45 --> "40 + 2"' should be '45 --> "40 + 5"'
done
Need to fix description
Approved
With Dart translation updated, all languages now comfront to the requirement. (Except for Java, which is raised as a separate issue above)
Lua translation!
Removed language-specific examples from the description.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Groovy Translation
40 is your answer, 40 + 2 is the expected one. Not a kata issue. You're returning inside the loop at its first iteration.
Issue zith this one, in my local IDE it passes the tests, but fails here, because it seems the numbers in the test are rounded down.
Example: expanded_form(42) error: 40 should be equal 40 + 2
Any idea how this can happen?
so many ways to approach this one, very enjoyable
Python: not a single test with a whole number.
Loading more items...