Functions mini-quiz


Here is the question I am stuck on.

I am stuck on how to start organizing the problem. I believe since it calls for a function, I have to start with defining that although I probably should declare it.

I started like this:

I am going through my other projects and homework but any directions anyone can assist me with would be great. I know it is simply one question on a little quiz, but I figure this will be the first of many times I will be doing this.

Thanks in advance anyone.

The instructions say that your function should have a string argument (parameter would be more correct term). Yours has two. You only need one. You may want to review the section on default parameters.


Perfect, thank you for the suggestion!

1 Like