Your code is not exactly correct, it's not a valid solution of a Codewars kata. See this article for some hints: https://docs.codewars.com/training/training-example#writing-a-solution
The code I wrote is correct. I checked it on VS and it runs smothly, but it still gives an error when testing with the sample tests. As a beginner, the fact that no kind of info is given to know more or less where to start is disssapointing.
Loading collection data...
Your code is not exactly correct, it's not a valid solution of a Codewars kata. See this article for some hints: https://docs.codewars.com/training/training-example#writing-a-solution
The code I wrote is correct. I checked it on VS and it runs smothly, but it still gives an error when testing with the sample tests. As a beginner, the fact that no kind of info is given to know more or less where to start is disssapointing.