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.
I gotta agree with him, that examples provided could have been worked on much more. Like he said, there are some scenarios where the examples are not enough. Improvements could be seen to this Kata. Good on you for mentioning it ivanleoncz.
Even if I don't really get the point, don't miss that company_id must be return as well as company_name...
I still do not understand when to use .count ... baaackk to W3schools
I... Should have checked all the string methods first...
This is a very clever way of adding the multiples of 3 and 5 without repeating the common multiple. However I can't mark it as a best practice because it forces a traverse through all of the natural number (minus 1). If we're talking about a small input number it's negligeble, but if we're talking about a very high input number then it starts to take a toll.
thank you , I was trying to join('\n')
You don't need to escape the newline character when joining the result, that's why the error message looks like that (it doesn't show the escape slash
\
)In what language? What is your code?
Without knowing this i cant even check where your code is wrong.
I get expected 'aa bb\ncc dd' to equal 'aa bb\ncc dd'
This comment is hidden because it contains spoiler information about the solution
i am unable to pass two tests where markers is empty
Thanks, I finally solved it.
Your code has a bug in it. You aren't testing in VS code with the same values that codewars is testing your class with, otherwise you would see the same result in VS code.
The tests are fine, just solved it. As some other 14000 people before me.
Codewars kata are rigorously tested by multiple users, 99% of the time you can be sure the problem is not in the tests.
My Python code in VS Code runs correctly, but the Kata test gives me errors. Anyone else?
Loading more items...