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.
Couldn't make that evil enough. A too simple generating function exists.
You would love this kata where lines are restricted to 2 characters >:)
https://www.codewars.com/kata/5935558a32fb828aad001213/javascript
Actual sorcery
Would an eviler edition of this kata targetting the last digit be feasible?
Always a treat to see the problem description transcribed to near English. Great solution.
Fun fact: The Grinch is actually the cause of all off-by-one errors
Awesome
Okay, I see what you mean now. Thanks!
Python
In Python? Not in JS they aren't.
Minor issue: random tests are called "Fixed tests" in
test.describe
.Nope, I meant to format the message to display inputs as strings, currently they're displayed as integers. So, apply
JSON.stringify
on the input parameter, not the whole string.Okay, but why?
Use
JSON.stringify
or add quotes to theit
block messages in random testsi like this kata and i like javascript
Loading more items...