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.
im stucked, and i know that if i give up and see the solutions i gonna feel so stupid.
i can copy paste this coments in every kata i do basically :(
nice kit kat
[TypeScript]
The types for the TypeScript translation are incorrect.
String
represents the gloabl string object, it is not the right type to use for a primitive string.string
should be used instead for the parameter.See https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#the-primitives-string-number-and-boolean
and https://www.typescriptlang.org/docs/handbook/declaration-files/do-s-and-don-ts.html#general-types
in the TypeScript handbook.
Kinda ironic for a kata tagged with "string" and "fundamentals".
#11b32/3q8:0z:vV
excellent kata
approved
This comment is hidden because it contains spoiler information about the solution
Thanks for the feedback :)
I suggest unpublishing the kata before it gets retired.
Regards, suic
sorry, offtop.
Skills:i have e^(πi)+1 skills ???
How is this possible?
Dear AvyJIT Sensei, the "incorrigible liar" state is impossible.
You either take off the cross, or put on your underpants ...
Because the number of your skills is much more than 0. :-)
done. I added the sample tests to the test suite at the same time
actually, sample tests is the only place where the named argument is used. What do you prefer? removing them in sample tests or adding them in the full test suite?
forget that, I'll update the test suite.
In random tests:
In all typical Python libraries (even in standard libraries like
itertools
) this would be taken as "grad
is a keyword-only argument", and the implied usage from the description, examples and sample tests all implies the same, so this usage in random tests is incorrect; it should be called withgrad=True
.I'm slapping myself in the face right now. But yeah, overall good kata.
This was one of the most satisfying katas to solve
This site is CODEwars not MATHwars! Please provide clarification on the math concepts (or at least a link to RELEVANT information.) I am here to learn coding concepts and a huge portion of these kata are not coding issues but solving math problems.
At least for python, the corner cases are impossible to debug. There is no feedback as to what the inputs were, or what the math operation was that caused the failure.
For example...
Time: 570ms Passed: 26 Failed: 4 Exit Code: 1
...
-0.0 should be close to 1.0 with absolute or relative margin of 1e-09
...
Wonderful!!!! /scarasm!
Loading more items...