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.
Use markdown formatting:
Expected: '1\n12\n1**3', instead got: '1\n12\n1**3\n'
You must return the result, not print it.
This comment is hidden because it contains spoiler information about the solution
That's a problem with your code, print the input to analyze why it fails. Read this: https://docs.codewars.com/training/troubleshooting/#print-input
This comment is hidden because it contains spoiler information about the solution
Not a kata issue.
SyntaxError: Unexpected end of JSON input
This comment is hidden because it contains spoiler information about the solution
As you can see from the message, you return a
NaN
, but the expected value is an integer (105313274). Are you sure you initialize your variables correctly? For examplelet myValue
instead oflet MyValue = 0
.This comment is hidden because it contains spoiler information about the solution