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.
Yup, the expected and actual output in the assertion are swapped, re-raised as an issue.
Added some time ago
This comment is hidden because it contains spoiler information about the solution
Why would the average of no numbers be
0
? Why not1234
or-8888
;-) ?I added a note in the description that promises the array will not be empty, and I removed the fixed test in Clojure that was testing for it.
This is a implicit int, the default return type is int. You can do this with arguments as well like
fun(a, b) {return a + b;}
This defined a function called
fun
, that return int and take a and b as integers.This comment is hidden because it contains spoiler information about the solution
A hidden gem of a comment thread, learnt some cool stuff - thanks @awesomead and @lechevalier
Now added, closed
Decided to add tests from "Attempt" section to make hem more clear: https://www.codewars.com/kumite/630c7414966bf599e5dc7279
fixed
I agree with that; I've made a fork with fixing that problem
its because easy jobs are hard for us ;-;
It's no use to post duplicate suggestions. Old suggestions don't disappear and are easy to find out.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...