Ad
  • Custom User Avatar

    i don't think that this kata is right!! i checked my code several times on vscode and i didn't find any mistake in my code but here ...- The 'if' statement in mycode is working fine in vscode code but here it is not working at all, only 'else' statement is being called. Is my code is wrong or this kata??

  • Custom User Avatar

    sorry it was my mistake, i didn't write right code. sorry

  • Custom User Avatar

    After checking your solution, I can see that you are printing irrelevant messages to the console instead of returning the Boolean results.

    Write the function collinearity(x1, y1, x2, y2), which returns a Boolean type depending on whether the vectors are collinear or not.

    The example tests also demonstrate that clearly. Also, I suggest you read this before continuing to solve more katas for the sake of better understanding on how things work here. Also, sharing your code with spoiler flag would have been much easier than asking reviewers to find which language you're training on with the relevant code! Kudos ^^

  • Custom User Avatar

    The "View solution" button does not work well and it's not easy to use. To see your solution, I have to a) know what of 13 available languages you attempted and b) I have to solve the kata in this language, which I might not know how to do. It's much easier if you just post your code (properly formatted). Or if you want me to use the "view solution" button, you have to tell what language you use.

  • Custom User Avatar

    tap on "view solution" i hope you can see it

  • Custom User Avatar

    "My solution does not work" is not a kata issue.

    Show us your solution and we will check what's wrong with it.

  • Custom User Avatar

    is there anyone whose code get all tests fixed?? i check my code multiple time and it was working fine for me 😭 what should i do??