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.
It's a cheat code.
Agreed.
You have
equalateral
, but it should beequilateral
.Still a complete duplicate without any originality.
Here at Codewars, we ensure that only the
VERY BEST
code is able to pass my tests.Just kidding, redundancy. I don't know how, but if somehow you managed to make your code return true 49 out of 50 times this would catch you. ;)
Is it really necessary? Probably not. Does it affect the tests in any impactful way? No.
This comment is hidden because it contains spoiler information about the solution
Thank you, I have very small brain! I understand now! :)
I have now realized that rather than checking the value of the input passed, it checks for the value of the variable
s
, even if it does not exist in my code...This is what happened when I used
x
andy
as my variables.This comment is hidden because it contains spoiler information about the solution
This is happening in ruby and, needless to say, I am very confused. Am I misunderstanding what the problem wants? I am not mutating the input, as you can see in my code below, and it passes the basic tests with no issue.
Works like a charm, thank you!
Uhhhhh...
This comment is hidden because it contains spoiler information about the solution
Ruby:
Needs a standard of some sort for floats.
I believe that I have fixed the issue, if you don't have any problem executing your code please let me know so that I may mark it as resolved.
Loading more items...