17. Review: Functions



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

What could I be doing wrong?



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


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


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


That worked! Thanks for your help. :slight_smile:


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