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.
It is the duty of the Kata author(s) to enforce any rules in the test cases
you should obey the rules!!
Its a Copy of This Kata
https://www.codewars.com/kata/5a431c0de1ce0ec33a00000c
fixed, Thank you
First sample test is wrong,
3
is odd.Not really because this is addition, not multiplication.
And then you call the function with only one or no argument. Not a good idea leaving that unexplained for a simple kata, that's confusing for beginners.
Duplicate of "Multiply" kata.
Didn't realize I had to spoiler replies to solutions — thank you, will do next time!
Use spoiler flag next time, please.
This comment is hidden because it contains spoiler information about the solution
The kata says not to do this :l