thanks for your help;
Actually I am trying to do codecademy's following exercise and I tried many different ways including your guidance, however I am getting error all the time; Note I am a new coder and seems I'm doing something wrong. Appreciate if your provide some help in this matter.
Following is the exercise I am attempting to do:
1: First, def a function, shut_down, that takes one argument s. Don't forget the parentheses or the colon!
2: Then, if the shut_down function receives an s equal to "yes", it should return "Shutting down"
3: Alternatively, elif s is equal to "no", then the function should return "Shutdown aborted".
4: Finally, if shut_down gets anything other than those inputs, the function should return "Sorry"
in the Hint they mention following instructions:
- Ensure your function outputs appear exactly as shown!
- Also, ensure your function returns the above values rather than printing them.