17. Review: Functions


#1

Hi,

Here is my code plus the error message I'm getting:

What could I be doing wrong?

Thanks.


#2

Indent all of the conditional statements and returns except the first return.


#3

I've done that and this is what I'm getting:


#4

Because you are returning s in the beginning. Remove that return statement.


#5

That worked! Thanks for your help. :slight_smile:


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.