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.
dont change state directly
I am going to unpublish this kata as a duplicate.
It's fishy the upvotes keep going up, while this is clearly a duplicate.
"I'm new here" is not an excuse. This kata is a duplicate, and you should unpublish it instead of closing issues for no reason.
Duplicate as pointed out below.
I have fixed the interest and amount variable. I didn't want to use P and n because some people might not know what they mean,
although I will admit, my naming of variables isn't great lol
I was unaware of this being a duplicate. I just recently got the ability to make a kata
so I was just trying to make a simple kata that I knew I could make in short time. Thank you for letting me know,
I will be sure to keep that in mind when making more in the future.
Thank you for mentioning this. I have fixed the calculation. Please, if you find anything else, let me know and i'll do my best to fix the issues.
Ah, yes, so sorry about that. I forgot to change it in the sample tests aswell. Also i'll look into the approximately.
Thank you for the information, this is the first kata i have attempted to make. I fixed most your stated issues, although I do not know how to do approx equals, or how to check with a random test. I will continue to work and resolve as many issues that I can.
The sample test use deepEqual, fixed tests use equal.
You can pass final tests if you give a string
You can't pass the fixed tests, pick one so we can sure what answer to give
Also use chai's approximately (it would be better)
nvm, duplicate of three Katas
Needs random test
This comment is hidden because it contains spoiler information about the solution
Loading more items...