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.
Nice and easy, good practice and examples.
Great, another math question.
Approved
Dart translate
Bad description
agree
Can't believe I used my little brain to figure out the math formula for this
no need for zero(initialValue)
If it wasn't for your (much better) description, I wouldn't have done this Kata (english is not my first language so I was strugling a lot with the amount of missing information this Kata has).
Interesting kata, but this shouldn't be in the description "(or "2+1" if you like)". It causes confusion.
thank you !!
you are returing the value returned when you console.log(total). Instead, get rid of the console.log, and simply do "return total"
This comment is hidden because it contains spoiler information about the solution
OP solved it, closing
Approved
Loading more items...