In C# version parameter name should be type of string.
ruby, but missing the markdown so that it's displayed correctly
What language is this?
Needs more test cases and new to tell that is wrong with the given answer
Description was updated.
This comment is hidden because it contains spoiler information about the solution
typically, return can be left out of a Ruby script. Python should become that responsive. ;)
also, with ES6, if you ever have one line of instructions, instead of 2+, you can use a nice one-liner format. And also leave out return, e.g. const multN = n => n * 2.
const multN = n => n * 2
Oh, also, needs random tests
Test.expect approximate_e, "'approximate_e' should exist"
This test is not testing whether it exists, it's trying to call it with no arguments.
Also this is redundant anyways with your tests after it, so it should be removed.
Not a kata issue. Closing.
I just encountered a "House of Cards" fan, I guess... ;-D
Codewars katas ALWAYS have you returning stuff instead of printing them out like other programming websites. Honestly, it's a much better way to do it.
And yes, that's probably where you've gone wrong. Hope it helps!
You should return a string instead of printing it to the console ^_^.