Ad
  • Custom User Avatar

    I get it, thanks!

  • Custom User Avatar

    @Blind4Basics: Why isn't the solution correct? I get it's by no means elegant or efficient, but it outputs the correct result, right?

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    It took me only 1 hour to write these 5 lines and not have errors pop up.
    I feel like I'm learning a lot with every kata I complete, looking up old SO questions and browsing the documentation.

    Honestly there are more elegant ways to do this, but I'm glad how it came out, it kinda even looks like I know what I'm doing.

  • Custom User Avatar

    Thanks for the answers, I'll use the proper markdown next time. Sorry for the inconvenience.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This is the first kata I'm trying to do. Randomized testing does not tell me which situation is my function failing at.

    EG the error says "should return "right"" when it would be more helpful should it say "(0,0,2) should return right"

    I had to manually set a test on an external ide to try the function.