Review: Functions HELPP!


#1

Plz help what's wrong with my code?
def shut_down(s):
return s
if (s) == "yes":
return "Shutting down"
elif (s) == "no":
return "Shutdown aborted"
else:
return "Sorry"


#2

Don't write return s after def shut_down(s)
The code should run fine then with proper indentations.