the question -
First, def a function, shut_down, that takes one argument s. Don’t forget the parentheses or the colon!
Then, if the shut_down function receives an s equal to “yes”, it should return “Shutting down”
Alternatively, elif s is equal to “no”, then the function should return “Shutdown aborted”.
Finally, if shut_down gets anything other than those inputs, the function should return “Sorry”.
- What the heck did just happen. i was just printing out “hello world!” and suddenly this!
- please can someone help me understand this exercise?