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
lol
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Sorry, but you can't expect to read the title and not the instructions. That's just wrong. The title doesn't need to contain all the description in less than ten words (countless books and movies titles are examples of this). If you have a better title, propose it and maybe it can be changed.
Anyway, I changed the title and the description to
Count the divisors of a number
I hope that's clear enough now.And the title specifies it is the divisors and not the number of divisors themselves what you should return.
And the description specifies it is the number of divisors and not the divisors themselves what you should return.
Changing the kata name to "Find the number of divisors of a number" doesn't seem to help, or does it?
The title said find divisors, so i thought oh i should return an array or something to contain all of the divisors
What you don't get of this?
no clue what it was asking for as output
i wish i did this instead of 4 for loops