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.
What's not clever about it?
Ah thats clever thinking
redacted
names.length should work for an array, I have just used it to complete this challenge.
I can see in your submitted solution you have tried to assign the length of names array with names.length(); (you have a typo in length), .length() will only work for a string in the array, not an array of strings. You need to use .length
Sorry to comment 2 years later but why did you get downvoted here lol so weird
Relatable haha
Why wouldn't you use a built in method?
I learned this formula in my Math class recently. Look up Sigma notation.
Then you should start using one lol