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
Imo, I think the instructions could have more clear. I took a lot of time trying to dissect the problem as well.
If the instructions were a bit more clear, I think this would have improved the quality of the problem.
Your code is returning
9
, it need to return-9
.Read the Kata's description again.
What was the problem? I'm getting the same and Idk what is it
I was really overthinking this lol
Now that's what I call clever
Got it now, I did not read the description properly
Without your code, we also don't know.
"expected 9 to equal -9" but my function returns -9?? not really sure what I'm doing wrong here
Nevermind my fault did not read the description properly
This:
if x>y - 3 points
if x<y - 0 point
if x=y - 1 point
should be rewritten as:
if x>y add 3 points
if x<y add 0 point
if x==y add 1 point
For a moment I thought I had to subtract :D
nly lsr wld mk qstn lk ths
The description of the kata is really poor literally spent almost 2 hrs figuring out and solving this with
the most ugliest solution.
also how is this 6kyu lol should be 5kyu imo
Nice kata!
You were really the first person to do this
Loading more items...