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.
Here's a basic template:
Should do the trick. But make sure to return something that the function expects (you could just "return names" to avoid errors).
You should use it inside the method, and you don't need brackets around "names".
See if this article helps. You can also visit Codewars Discord and ask any questions you have in
#beginners
, or in#help-solve
channels.Console.WriteLine
is fully operational on Codewars, and it should work if used correctly.