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.
Math moment
You can write in one line
Please raise code questions as a question instead of an issue.
By the way, have you checked that the input is actually a string?
Don't know of Enum.Sum......lol
Just so you know. It can easily to go into stack overlow, so it's generally better to write tail recursions, as they can be optimized during the runtime/compilation
Thanks!
I corrected the Example Test Case for Elixir.
I corrected the Example Test Case for Elixir.
Which programming language? Your post does not make a lot of sense.
Please tell me where/when you are seeing this error and which programming language it is for.
simple check (2.3ms)
fixture:5
Assertion with == failed
code: make_negative(-42) == 42
lhs: -42
rhs: 42
stacktrace:
fixture:6
Test case make_negative(-42) == 42
is incorrect. broken.
This comment is hidden because it contains spoiler information about the solution
Good amount / 1
Good is_integer(n)
Beautiful!
Above code returns false for typer.isNumber(1).
How did this pass the unit test?
Loading more items...