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.
This comment is hidden because it contains spoiler information about the solution
Amazes me everytime finding out a new way to solve things.
Thank you for this! More learnings from the CodeWars Community
Genius!
Amazing solution for this excercise, Inspiring I need more practice!
Genius!
same hhahaha
Amazing! tried it for hours but couldnt solve it because I tried to return something inside the for loop and always get 1 sheep...and used if/else (num !== 0) { forloop }
didnt need if else in this hahahahaha got my brain juiced up
my brain is exploding
Very nice!