• Custom User Avatar

    It was probably printing, now i see why it didnt work, thanks for the help

  • Custom User Avatar

    Without your code we can only guess, was your code returning the answer or was just printing it to the console? Read this: https://docs.codewars.com/training/troubleshooting/

  • Custom User Avatar

    I tried my solution a few times and it didnt work

    yeah, clearly is NOT possible that it was the same as a correctly working solution

    you're just not being logical, I mean look at this statement:

    my answer was not proper but the results were the same

    that just makes no sense

  • Custom User Avatar

    Idk how it works, because in the test screen my answer was the same as the requested one. The test request was like [2, 4, 6, 8, 10], [100, 200, 300, 400 ,500] etc, and right above my solution was the same so idk?

  • Custom User Avatar

    False. If your code had worked correctly, then you would have passed the kata without error, and you would not have made any comment in the first place.

  • Custom User Avatar

    I tried my solution a few times and it didnt work so i got the top solution to see and worked just fine. I guess my answer was not proper but the results were the same for both codes =)

  • Custom User Avatar

    Not sure what you did, (forfeit the kata?), because your solution code is identical to the top rated solution, which of course passes the kata... but your account shows you've only passed one other kata. ¯\_(ツ)_/¯

  • Custom User Avatar

    My answer was the exact same as the tests but it was showing error, pretty sure i've done it right.