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.
I wish these kind of katas gave some useful hints to somebody who has no idea on where to put his hands on.
Inner loop can terminate early if nothing to do
I got a issue really similar to your, 13 tests are failing and i am struggling to understand why
Duplicate issue.
This comment is hidden because it contains spoiler information about the solution
The most drivel kata that I solved here.
Very fun and I learnt something new, thank you. Could be a 5-kyu in Python maybe.
In this kata, I am not really sure why you would need to call the reference solution first, however you certainly can't have it with the reference solution and user solution swapped.
The way you have it now, when the user gets the value wrong it will present as "{reference} should equal {their answer}" which will be confusing and make them think that the reference solution is wrong, and that their solution is correct.
wha'ts the point of doing this?
Actual and expected values are swapped.
If you put them in this order because of B4B's suggestion, that is not what he meant. You can get the expected solution first, outside the assertion, then run the assertion.
This comment is hidden because it contains spoiler information about the solution
It was very ... non-standard. Thank you. I literraly heard how my brain worked.
You can try different approach.
Now there are 2 different major ways to do it from I saw in solutions.
45 should be less or equal to 44.
Aww man
Congrats, you missed the point of the challenge...
Loading more items...