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.
Damn! Makes sense! Thanks!
return breaks the flow of execution so the else block is extraneous in this case. if the number is even, execution will stop after number * 8. otherwise it will continue to run until it hits the next return statement
So we don't need to use Else? I thought this way would return both *8 and *9 for even numbers.
Outdated translation, needs update.
https://www.codewars.com/kumite/5b34bd0b2ae75477d5000021?sel=5d6c7ce0dd93aa002891629e
Merge conflict.
Random tests would be nice too.
Thanks for your time but there are no random test that are mandatory now.
Moreover I think you need some more experience at CW before translating.
Cheers