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.
Read the description carefully
This comment is hidden because it contains spoiler information about the solution
and since no-one wants to guess at indentation, use proper markdown formatting
Hi, don't post code without the spoiler tag or everyone can see it (I have added the tag).
You need to handle the case when no argument is given.
This comment is hidden because it contains spoiler information about the solution
It means that your solution does not work when called like this:
hello()
i.e. without parameters.It should work when called with either one param (
hello("Steve")
) or without params (hello()
).Read the posts below asking the same.