Review functions

def shut_down(s):
if s== "yes":
return("Shutting down")
elif s== "no":
return("Shutdown aborted")

I sincerely don't understand where the problem is
It keeps asking me if I created a function shut_down


You just forgot to put sorry in quotes


And indent your code, if you haven't.


And least of all, do not write a return value in parens. It's messy and clutters up the code.

return "Sorry"


In addition to those two above, return statements don't necessarily need brackets. Just something like return "Shutting down" is sufficient.

@mtf beat me to it


Thank you all ,
very illuminating indeed
I did not even see I was missing quotation marks