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.
Our solution almost similar, but your code is way more advance! way the go!
I just told you in the previous reply??
https://docs.codewars.com/training/troubleshooting/#print-input
the problem is, its random test the ome gets error and I can't see whats the msg is...
You can log the message to console with
console.log(msg)
to see which tests fail.The problem is with your regex, but I don't blame you, because these "HTML tags" are not normal at all. (because of how random tests are constructed)
This comment is hidden because it contains spoiler information about the solution
let see there is 4 error we should handle right?
then what else? i still get Should return false because this is a invalid message - Expected: false, instead got: true
Definetely the easiest 6kyu I ever try...
This comment is hidden because it contains spoiler information about the solution
the 0 aren't count for the positive
The description says: "Return the height as multiple of the ball diameter." So the exact value of diameter is not needed, you just need to tell how many ball heights is the whole pyramid.
If it helps anything, you can assume the diameter to be always 1.
How am I supposed to know the diameter of the sphere, or any dimensions whatsoever...?
No, they're spheres, not cubes.
I don't understand this challenge? It seems insufficient data is provided. Wouldn't the layers be equal to the height?
bruh, need more example.
Loading more items...